api-docs / org.ktorm.entity / mapNotNull
mapNotNull
inline fun <E : Any, R : Any> EntitySequence<E, *>.mapNotNull(
transform: (E) -> R?
): List<R>
(source code)Return a List containing only the non-null results of applying the given transform function
to each element in the original sequence.
The operation is terminal.
Since
3.0.0