IterableExtraExtensions<T> extension

adds utility methods to Iterable

on

Methods

containsSub(Iterable<T> sub) → bool

Available on Iterable<T>, provided by the IterableExtraExtensions extension

check if this contains sub list
endsWith(Iterable<T> sub) → bool

Available on Iterable<T>, provided by the IterableExtraExtensions extension

check if this ends with sub list
enumerate([int start = 0]) → Iterable<Pair<int, T>>

Available on Iterable<T>, provided by the IterableExtraExtensions extension

returns an Iterable of MapEntry with int and T
startsWith(Iterable<T> sub) → bool

Available on Iterable<T>, provided by the IterableExtraExtensions extension

check if this starts with sub list
zip<U>(Iterable<U> other) → Iterable<Pair<T, U>>

Available on Iterable<T>, provided by the IterableExtraExtensions extension

apply zip(this, other)