kmongo / kotlin.collections / toCollection

toCollection

fun <T, C : MutableCollection<in T>> MongoIterable<T>.toCollection(destination: C): C