Go to Latest
class ToggleBitfield
import { ToggleBitfield } from "https://dotland.deno.dev/x/discordeno@17.2.0/plugins/validations/deps.ts";

Constructors

new
ToggleBitfield(bitfield?: number)

Properties

bitfield: number

Methods

add(bits: number)

Adds some bits to the bitfield.

contains(bits: number)

Tests whether or not this bitfield has the permission requested.

remove(bits: number)

Removes some bits from the bitfield.

import ToggleBitfield
import { ToggleBitfield } from "https://dotland.deno.dev/x/discordeno@17.2.0/plugins/validations/deps.ts";