bit_array_is_any_set(b)
Return true if at least one bit is on in the bit array b, return false otherwise.
true
b
false
let b = #b[0, 1, 1, 0, 1] bit_array_is_any_set(b) // true bit_array_clear_all(b) bit_array_is_any_set(b) // false
Core Module Index | Contents