pub fn is_sorted<T>(sequence: impl IntoIterator<Item = T>) -> bool
👎Deprecated since 45.0.0: Use std::Iterator::is_sorted instead
Expand description
Checks whether the given index sequence is monotonically non-decreasing.
pub fn is_sorted<T>(sequence: impl IntoIterator<Item = T>) -> bool
Checks whether the given index sequence is monotonically non-decreasing.