foundation-filters.nodeenvfilter
Home > @genesislcap/foundation-filters > nodeEnvFilter
nodeEnvFilter() function
NodeEnv client filter function.
Signature:
export declare function nodeEnvFilter(envs: string[]): boolean;
Parameters
Parameter | Type | Description |
---|---|---|
envs | string[] | Environments to target. |
Returns:
boolean
Remarks
This will return true when the current node env matches target parameters.