kmongo / kotlin.collections / mapIndexedNotNull

mapIndexedNotNull

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