kmongo / kotlin.collections / com.mongodb.client.MongoIterable / none

none

fun <T> MongoIterable<T>.none(): Boolean (source)

Returns true if the collection has no elements.

//Unresolved: samples.collections.Collections.Aggregates.none
inline fun <T> MongoIterable<T>.none(crossinline predicate: (T) -> Boolean): Boolean (source)

Returns true if no elements match the given predicate.

//Unresolved: samples.collections.Collections.Aggregates.noneWithPredicate