flatten

fun <T> MongoIterable<Iterable<T>>.flatten(): List<T>

Returns a single list of all elements from all collections in the given collection.

Samples

samples.collections.Iterables.Operations.flattenIterable