IterableExtension<T> extension

on

Properties

firstOrNull → T?

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

no setter
lastOrNull → T?

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

no setter

Methods

distinctBy(Object getCompareValue(T e)) Iterable<T>

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

firstWhereOrNull(bool test(T element)) → T?

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

The first element satisfying test, or null if there are none.