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.

66 lines (31 loc) 781 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; [isFlagSet](./rc-js-util._debug.isflagset.md) ## \_Debug.isFlagSet() method Used to get debug flags in an environment independent way. **Signature:** ```typescript static isFlagSet<TKey extends keyof IBuildConstants>(this: void, flag: TKey): boolean; ``` ## 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> </tbody></table> **Returns:** boolean