class RoleFlagsBitField
extends
BitField<RoleFlagsString>export class RoleFlagsBitField extends BitField<RoleFlagsString>
Data structure that makes it easy to interact with a flags bitfield.
[Symbol.iterator]IterableIterator<RoleFlagsString> () :
Inherited from: BitField
add...bits: BitFieldResolvable<RoleFlagsString, number>[]) : BitField<RoleFlagsString, number> (
Adds bits to these ones.
Returns: These bits or new BitField if the instance is frozen.
Inherited from: BitField
any) : boolean (
Checks whether the bitfield has a bit, or any of multiple bits.
Inherited from: BitField
freezeReadonly<BitField<RoleFlagsString, number>> () :
Freezes these bits, making them immutable.
Inherited from: BitField
missingbits: BitFieldResolvable<RoleFlagsString, number>...hasParams: readonly unknown[]) : RoleFlagsString[] (
Gets all given bits that are missing from the bitfield.
Inherited from: BitField
remove...bits: BitFieldResolvable<RoleFlagsString, number>[]) : BitField<RoleFlagsString, number> (
Removes bits from these.
Returns: These bits or new BitField if the instance is frozen.
Inherited from: BitField
static resolvebit?: BitFieldResolvable<RoleFlagsString, number>) : number (
serialize...hasParams: readonly unknown[]) : Record<RoleFlagsString, boolean> (
Gets an object mapping field names to a booleanundefined indicating whether the bit is available.
Inherited from: BitField
toArray...hasParams: readonly unknown[]) : RoleFlagsString[] (
Gets an Arrayundefined of bitfield names based on the bits available.
Inherited from: BitField