Function isProd

  • Checks if environment variable NODE_ENV is set to 'production'.

    Example

    // NODE_ENV === 'production'
    // NODE_ENV === 'Production'
    // NODE_ENV === 'PRODUCTION'
    isProd() === true

    Returns

    (true), NODE_ENV is set to 'production'.

    Returns boolean

Generated using TypeDoc