isProduction
Method
interface IHostEnvironment { // ... omitted for brevity isProduction(): boolean;}Signature
method
isProductionChecks if the environment is Production.
isProduction(): booleanReturns
booleanApplies to
This method applies to the following types: