binius_utils::sorting

Function is_sorted_ascending

source
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.