IterableExtension<E> extension Null safety

on

Properties

lastIndex int
read-only

Methods

associateBy<K>(K keySelector(E element)) Map<K, E>
count(bool where(E)) int
equals(Iterable<E> b) bool
find(bool block(E)) → E?
firstOrNull({bool where(E)?}) → E?
get(int index) → E?
groupBy<K>(K keySelector(E element)) Map<K, List<E>>
lastOrNull({bool where(E)?}) → E?
mapEagerly<X>(X f(E e)) List<X>
mapIndexed<T>(T f(E e, int i)) Iterable<T>
mapNotNull<T>(T? f(E e)) Iterable<T>