Partitioned::matched
pub fn matched() -> Vec<T> Import
Source: use collections::vec::{Partitioned}; src/collections/vec.hy The elements for which the predicate was true.
Called on a Partitioned value as value.matched(…).
Returns#
Vec<T>
See also#
Partitioned: Two-bucket result ofpartition(matched= pred true,rest= pred false).Partitioned::rest: The elements for which the predicate wasfalse.