IterableSplitWhen<E> extension

on

Methods

splitWhen(bool predicate(E, E)) Iterable<List<E>>
Splits this collection into a lazy Iterable, where each split will be make if predicate returns true for a pair of entries.