isEnvironment
Function
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 Applies to
This function is an extension method on the following types: