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

filterTo

inline fun <T, C : MutableCollection<in T>> MongoIterable<T>.filterTo(destination: C, crossinline predicate: (T) -> Boolean): C (source)

Appends all elements matching the given predicate to the given destination.