pub(crate) fn extremum( values: impl IntoIterator<Item = f64>, is_min: bool, ) -> Option<f64>
The minimum (is_min) or maximum of values, None when there are none.
is_min
values
None