kmongo / kotlin.collections / com.mongodb.client.MongoIterable / map

map

inline fun <T, R> MongoIterable<T>.map(crossinline transform: (T) -> R): List<R> (source)

Returns a list containing the results of applying the given transform function to each element in the original collection.