BitArray.opCall

This initializes a BitArray of bits.length bits, where each bit value matches the corresponding boolean value in bits.

struct BitArray
static
opCall
(
bool[] bits
)

Parameters

bits bool[]

The initialization value.

Return Value

Type: BitArray

A BitArray with the same number and sequence of elements as bits.

Meta