IterablePartition<E> extension

on

Methods

partition(bool predicate(E element)) List<List<E>>
Splits the collection into two lists according to predicate.