all

inline fun <T> MongoIterable<T>.all(crossinline predicate: (T) -> Boolean): Boolean

Returns true if all elements match the given predicate.

Samples

samples.collections.Collections.Aggregates.all