BitArray.opAssign

Resets the length of this array to bits.length and then initializes this

Resizes this array to hold bits.length bits and initializes each bit value to match the corresponding boolean value in bits.

struct BitArray
void
opAssign
(
bool[] bits
)

Parameters

bits bool[]

The initialization value.

Meta