Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
max_boolean in datafusion::common::arrow::compute - Rust
[go: Go Back, main page]

datafusion::common::arrow::compute

Function max_boolean

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

Returns the maximum value in the boolean array


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