Partitioned
class Partitioned<T> Import
Source: use collections::vec::{Partitioned}; src/collections/vec.hy Two-bucket result of partition (matched = pred true, rest = pred false). Named pair instead of Vec<Vec<T>> so callers do not index [0]/[1].
Methods#
| Name | Description |
|---|---|
matched | The elements for which the predicate was true. |
rest | The elements for which the predicate was false. |