kmongo / kotlin.collections / union

union

infix fun <T> MongoIterable<T>.union(other: Iterable<T>): Set<T>