UNPKG

rc-js-util

Version:

A collection of TS and C++ utilities to help writing performant and correct applications, achieved through strict typing and (removable) invariant checking.

80 lines (37 loc) 859 B
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [rc-js-util](./rc-js-util.md) &gt; [\_Debug](./rc-js-util._debug.md) &gt; [setFlag](./rc-js-util._debug.setflag.md) ## \_Debug.setFlag() method Used to set debug flags in an environment independent way. **Signature:** ```typescript static setFlag<TKey extends keyof IBuildConstants>(this: void, flag: TKey, value: boolean): void; ``` ## Parameters <table><thead><tr><th> Parameter </th><th> Type </th><th> Description </th></tr></thead> <tbody><tr><td> this </td><td> void </td><td> </td></tr> <tr><td> flag </td><td> TKey </td><td> </td></tr> <tr><td> value </td><td> boolean </td><td> </td></tr> </tbody></table> **Returns:** void