bit_array_is_any_set


bit_array_is_any_set(b)
      

Return true if at least one bit is on in the bit array b, return false otherwise.

Examples:


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
      

Also see:

bit_array_is_all_set


Core Module Index | Contents