bit_array_is_all_set


bit_array_is_all_set(b)
      

Return true if all bits are on in the bit array b, return false otherwise.

Examples:


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
      

Also see:

bit_array_is_any_set


Core Module Index | Contents