kmongo / kotlin.collections / mapNotNull

mapNotNull

inline fun <T, R : Any> MongoIterable<T>.mapNotNull(crossinline transform: (T) -> R?): List<R>