BitSet.none

Checks if there are no indexes in the bitset.

Arguments

None

Return values

condition
is TRUE if no elements are set, FALSE otherwise.

Complexity

O(size)

Example

"sl/bitSet" useFile b: 3 BitSet; b.none print LF print TRUE 1 b ! TRUE 2 b ! b.none print LF print TRUE 0 b ! b.none print
Output:
TRUE FALSE FALSE