fn min_max_helper<T, A: ArrayAccessor<Item = T>, F>( array: A, cmp: F, ) -> Option<T>where F: Fn(&T, &T) -> bool,
Helper to compute min/max of [ArrayAccessor].
ArrayAccessor