IterableSplitWhen<E> extension

on

Methods

splitWhen(bool predicate(E, E)) Iterable<List<E>>

Available on Iterable<E>, provided by the IterableSplitWhen extension

Splits this collection into a lazy Iterable, where each split will be make if predicate returns true for a pair of entries.