IterableExtensions<T> extension

on

Methods

all(bool f(T)) bool
returns true if f applies to all items, otherwise false
firstWhereOrNull(bool test(T element)) → T?
finds item by test and returns it but returns null if it doesn't exist