Skip to content
On this page

AthenaShared.utility.flags

Modules

Functions

isFlagEnabled

Usage

AthenaShared.utility.flags.isFlagEnabled(flags, flagToCheck): boolean

Verify if a bitwise flag is enabled.

Parameters

NameType
flagsnumber | Permissions
flagToChecknumber | Permissions

Returns

boolean

Defined in

shared/utility/flags.ts:10

Created by Stuyk | Est. 2020