isProduction
Function
interface IHostEnvironment { // ... omitted for brevity isProduction(): boolean;}Signature
method
isProduction Checks if running in Production environment
isProduction(): booleanReturns
boolean Applies to
This function is an extension method on the following types: