Skip to main content

is_canonical

Function is_canonical 

Source
pub fn is_canonical<T: Ordered>(items: &[T]) -> bool
Expand description

Is this collection already in canonical order? What a validator asks of a projection it did not build, and what a test asks of an interface’s output.