[][src]Function arrow::compute::kernels::aggregate::max_boolean

pub fn max_boolean(array: &BooleanArray) -> Option<bool>

Returns the maximum value in the boolean array

use arrow::{
  array::BooleanArray,
  compute::max_boolean,
};

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