Function tvix_build::proto::is_sorted

source ·
fn is_sorted<I>(data: I) -> bool
where I: Iterator, I::Item: Ord + Clone,
Expand description

Checks if a given list is sorted.