isQueryFlagEnabled() Function
Returns true if the flag is enabled in the query string. To enable a flag, add ?flags=flag1,flag2 to the URL.
Signature
export declare function isQueryFlagEnabled(flagName: string): boolean;Parameters
| Parameter | Type | Description |
|---|---|---|
| flagName | string | The name of the flag to check. |
| (Returns) | boolean | |