try_is_sorted_by

Function try_is_sorted_by 

Source
pub fn try_is_sorted_by<T, I, F>(iter: I, compare: F) -> OrderResult<bool>
where F: FnMut(&T, &T) -> Option<bool>, I: Iterator<Item = T>,
Expand description

Function to check whether iter is sorted.