intersects

infix fun intersects(other: BitArray): Boolean(source)

Returns true if any bit set in other is also set in this array (intersection).

Return

true if there is at least one overlapping true bit, false otherwise.

Parameters

other

another BitArray of same size.

Throws

if arrays are not the same size.