Skip to main content
Module

x/structurae/bit-array.ts>BitArray#setBit

Data structures for high-performance JavaScript applications.
Latest
method BitArray.prototype.setBit
import { BitArray } from "https://deno.land/x/structurae@4.0.1/bit-array.ts";

Sets the bit at a given index.

Parameters

index: number

the index

optional
value: Bit = [UNSUPPORTED]

the value

Returns

this

this