Class BitField<Flags, Type>

Type Parameters

  • Flags extends string

  • Type extends number | bigint = number

Hierarchy

Constructors

  • Type Parameters

    • Flags extends string

    • Type extends number | bigint = number

    Parameters

    Returns BitField<Flags, Type>

Properties

bitfield: Type
Flags: EnumLike<unknown, number | bigint>

Methods

  • Returns IterableIterator<Flags>

  • Parameters

    Returns BitField<Flags, Type>

  • Parameters

    Returns boolean

  • Parameters

    Returns boolean

  • Returns Readonly<BitField<Flags, Type>>

  • Parameters

    Returns boolean

  • Parameters

    Returns Flags[]

  • Parameters

    Returns BitField<Flags, Type>

  • Parameters

    • Rest ...hasParams: readonly unknown[]

    Returns Record<Flags, boolean>

  • Parameters

    • Rest ...hasParams: readonly unknown[]

    Returns Flags[]

  • Returns Type extends number
        ? number
        : string

  • Returns Type

  • Parameters

    Returns number | bigint

Generated using TypeDoc