class ChannelFlagsBitField
extends
BitField<ChannelFlagsString>export class ChannelFlagsBitField extends BitField<ChannelFlagsString>
Data structure that makes it easy to interact with a flags bitfield.
number bitfield :
Bitfield of the packed bits
statictypeof ChannelFlags Flags :
Numeric guild channel flags.
[Symbol.iterator]IterableIterator<ChannelFlagsString> () :
Inherited from: BitField
add...bits: BitFieldResolvable<ChannelFlagsString, number>[]) : BitField<ChannelFlagsString, 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<ChannelFlagsString, number>> () :
Freezes these bits, making them immutable.
Inherited from: BitField
missing...hasParams: readonly unknown[]) : ChannelFlagsString[] (
Gets all given bits that are missing from the bitfield.
Inherited from: BitField
remove...bits: BitFieldResolvable<ChannelFlagsString, number>[]) : BitField<ChannelFlagsString, number> (
Removes bits from these.
Returns: These bits or new BitField if the instance is frozen.
Inherited from: BitField
static resolve) : number (
serialize...hasParams: readonly unknown[]) : Record<ChannelFlagsString, boolean> (
Gets an object mapping field names to a indicating whether the bit is available.
Inherited from: BitField
toArray...hasParams: readonly unknown[]) : ChannelFlagsString[] (
Gets an of bitfield names based on the bits available.
Inherited from: BitField