minusAssign

inline operator fun <T> MutableCollection<in T>.minusAssign(element: T)(source)

Removes a single instance of the specified element from this mutable collection.

Since Kotlin

1.0

inline operator fun <T> MutableCollection<in T>.minusAssign(elements: Iterable<T>)(source)

Removes all elements contained in the given elements collection from this mutable collection.

Since Kotlin

1.0

inline operator fun <T> MutableCollection<in T>.minusAssign(elements: Array<T>)(source)

Removes all elements contained in the given elements array from this mutable collection.

Since Kotlin

1.0

inline operator fun <T> MutableCollection<in T>.minusAssign(elements: Sequence<T>)(source)

Removes all elements contained in the given elements sequence from this mutable collection.

Since Kotlin

1.0