JS Utils Kit - v0.5.1
    Preparing search index...

    Function isDev

    • Checks if the current environment is development.

      This is determined by comparing process.env.NODE_ENV with 'development'.

      Returns boolean

      true if NODE_ENV is set to development.

      if (isDev()) {
      console.log('Dev mode enabled');
      }