js-util

Home > rc-js-util > _Debug > setFlag

_Debug.setFlag() method

Used to set debug flags in an environment independent way.

Signature:

static setFlag<TKey extends keyof IBuildConstants>(this: void, flag: TKey, value: boolean): void;

Parameters

Parameter Type Description
this void  
flag TKey  
value boolean  

Returns:

void