Function: is()
Function: is()
function is(env): boolean;
Determine if the current environment matches the given value.
Parameters
env
string
The environment to check.
Returns
boolean
True if the current environment matches the given value, otherwise false.