IHostEnvironment.isEnvironment
Method
interface IHostEnvironment { // ... omitted for brevity isEnvironment(environmentName: string): boolean;}Signature
method
isEnvironment Checks if the environment matches the specified name
isEnvironment(environmentName: string): booleanParameters
environmentName string Returns
boolean Defined on
This method is defined on the following type: