pub fn valid_range<T: NativeDecimalType>(
values: &[T],
validity: &Mask,
) -> Option<(T, T)>Expand description
Returns the smallest and the largest valid value, or None when no value is valid.
Null slots can hold any value and do not contribute to the range. The scan allocates nothing and does not check decimal precision.
ยงPanics
Panics if validity and values have different lengths.