mapNotNullTo

inline fun <E : Any, R : Any, C : MutableCollection<in R>> EntitySequence<E, *>.mapNotNullTo(destination: C, transform: (E) -> R?): C(source)

Apply the given transform function to each element in the original sequence and append only the non-null results to the given destination.

The operation is terminal.

Since

3.0.0