Optional
bits: UserPermissionsResolvableStatic
Readonly
FLAGSReturns the class that this instance belongs to.
The class of the bitfield.
Checks if any of the bits in the bitfield are set.
The bitfield or array of bitfields to check.
True if any bits are set, false otherwise.
A record of all flags and their boolean values indicating whether they are set.
Returns an array of all the Permissions that are set in the bitfield.
An array of flag names.
Static
resolveResolves a bitfield or an array of bitfields into a single number.
The bitfield or array of bitfields to resolve.
The resolved bitfield as a number.
Represents a bitfield that can be used to manage flags or permissions.