/// Checks if the elements of this iterator are partitioned according to the given predicate,
/// such that all those that return `true` precede all those that return `false`.
fn is_partitioned<P>(mut self, mut predicate: P) -> bool
where
Self: Sized,
P: FnMut(Self::Item) -> bool,
feature = "iter_is_partitioned"
ref: #62278
Unresolved questions
feature = "iter_is_partitioned"ref: #62278
Unresolved questions
is_sorted_by_keyalready cover all use cases?