bit_array_is_all_set(b)
Return true if all bits are on in the bit array b, return false otherwise.
true
b
false
let b = #b[0, 1, 1, 0, 1] bit_array_is_all_set(b) // false bit_array_set_all(b) bit_array_is_all_set(b) // true
Core Module Index | Contents