pub fn is_sorted_ascending<T: PartialOrd + Clone>(
values: impl Iterator<Item = T>,
) -> bool
Expand description
Returns whether the given values are sorted in ascending order.
pub fn is_sorted_ascending<T: PartialOrd + Clone>(
values: impl Iterator<Item = T>,
) -> bool
Returns whether the given values are sorted in ascending order.