Checks if environment variable NODE_ENV is set to 'production'.
// NODE_ENV === 'production'// NODE_ENV === 'Production'// NODE_ENV === 'PRODUCTION'isProd() === true
(true), NODE_ENV is set to 'production'.
Generated using TypeDoc
Checks if environment variable NODE_ENV is set to 'production'.
Example
Returns
(true), NODE_ENV is set to 'production'.