pub fn min_boolean(array: &BooleanArray) -> Option<bool>
This is supported on crate feature
compute_aggregate
only.Expand description
Returns the minimum value in the boolean array.
use arrow2::{
array::BooleanArray,
compute::aggregate::min_boolean,
};
let a = BooleanArray::from(vec![Some(true), None, Some(false)]);
assert_eq!(min_boolean(&a), Some(false))