IterableMapNotNull<E> extension

on

Methods

mapNotNull<R>(R? transform(E element)) Iterable<R>

Available on Iterable<E>, provided by the IterableMapNotNull extension

Returns a new lazy Iterable containing only the non-null results of applying the given transform function to each element in the original collection.