is_sorted

Function is_sorted 

Source
pub fn is_sorted<T: Ord>(slice: &[T]) -> bool
Expand description

Verifica se um slice está ordenado.