PartitionIterableExtension<E> extension

on

Methods

partition(bool test(E element)) → ({List<E> falsey, List<E> truthy})
Splits this iterable into two lists: the truthy list where the test predicate is true and the falsey list where the test predicate is false.