arrow_arith::aggregate

Function min_max_helper

Source
fn min_max_helper<T, A: ArrayAccessor<Item = T>, F>(
    array: A,
    cmp: F,
) -> Option<T>
where F: Fn(&T, &T) -> bool,
Expand description

Helper to compute min/max of [ArrayAccessor].