isBitSet
Umbra SDK reference for Is Bit Set.
isBitSet(
value,bit):boolean
Defined in: src/utils/miscellaneous.ts:413
Checks whether a specific bit is set in a numeric value.
Parameters
value
number
The numeric value whose bits will be inspected.
bit
number
The zero-based index of the bit to check (0 for least-significant bit).
Returns
boolean
true if the bit at the given index is set to 1, otherwise false.