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

minusElement

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

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