Skip to main content
Module

x/revoltio/mod.ts>BitField

No-nonsense Revolt library for nodejs and deno.
Latest
class BitField
Re-export
import { BitField } from "https://deno.land/x/revoltio@v1.0.0/mod.ts";

Constructors

new
BitField(bits?: BitFieldResolvable)

Properties

bitfield
readonly
self: { FLAGS: Record<string, number>; resolve(bit: BitFieldResolvable): number; new (bits?: BitFieldResolvable): BitField; }

Methods

add(...bits: BitFieldResolvable[]): this
any(bit: BitFieldResolvable): boolean
freeze(): Readonly<this>
has(bit: BitFieldResolvable): boolean
remove(...bits: BitFieldResolvable[]): this
serialize(): Record<string, boolean>
toArray(): string[]
valueOf(): number
[Symbol.iterator](): Iterable<string>

Static Properties

FLAGS: Record<string, number>