KMongo DSL
Toggle table of contents
5.14.1-SNAPSHOT
jvm
Target filter
jvm
Switch theme
Search in API
Skip to content
KMongo DSL
kmongo-dsl-sync
/
org.litote.kmongo
/
filterTo
filter
To
inline
fun
<
T
,
C
:
MutableCollection
<
in
T
>
>
MongoIterable
<
T
>
.
filterTo
(
destination
:
C
,
crossinline
predicate
:
(
T
)
->
Boolean
)
:
C
Appends all elements matching the given
predicate
to the given
destination
.