OptionalCollectionsOps<T> extension

on

Methods

flatMap<R>(R? f(T)) Iterable<R>
flatMap map elements of an iterable into iterable of optional, then collect non-null values into iterable.