arrow_arith::aggregate

Function min_boolean

Source
pub fn min_boolean(array: &BooleanArray) -> Option<bool>
Expand description

Returns the minimum value in the boolean array.


let a = BooleanArray::from(vec![Some(true), None, Some(false)]);
assert_eq!(min_boolean(&a), Some(false))