IterableExtension<T> extension
An extension for Iterable.
- on
-
- Iterable<
T>
- Iterable<
Properties
- firstOrNull → T?
-
Returns the first element of the collection, or returns null if the collection is empty.
no setter
- lastOrNull → T?
-
Returns the last element of the collection, or returns null if the collection is empty.
no setter