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

filter

inline fun <T> MongoIterable<T>.filter(crossinline predicate: (T) -> Boolean): List<T> (source)

Returns a list containing only elements matching the given predicate.