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

minus

operator fun <T> MongoIterable<T>.minus(element: T): List<T> (source)

Returns a list containing all elements of the original collection without the first occurrence of the given element.

operator fun <T> MongoIterable<T>.minus(elements: Array<out T>): List<T> (source)

Returns a list containing all elements of the original collection except the elements contained in the given elements array.

operator fun <T> MongoIterable<T>.minus(elements: Iterable<T>): List<T> (source)

Returns a list containing all elements of the original collection except the elements contained in the given elements collection.

operator fun <T> MongoIterable<T>.minus(elements: Sequence<T>): List<T> (source)

Returns a list containing all elements of the original collection except the elements contained in the given elements sequence.