Home > rc-js-util > _Debug > setFlag
Used to set debug flags in an environment independent way.
Signature:
static setFlag<TKey extends keyof IBuildConstants>(this: void, flag: TKey, value: boolean): void;
Parameter | Type | Description |
---|---|---|
this | void | |
flag | TKey | |
value | boolean |
Returns:
void