plusAssign

Common
JVM
JS
Native
1.0
operator fun <K, V> MutableMap<in K, in V>.plusAssign(
    pair: Pair<K, V>)

Appends or replaces the given pair in this mutable map.

Common
JVM
JS
Native
1.0
operator fun <K, V> MutableMap<in K, in V>.plusAssign(
    pairs: Iterable<Pair<K, V>>)

Appends or replaces all pairs from the given collection of pairs in this mutable map.

Common
JVM
JS
Native
1.0
operator fun <K, V> MutableMap<in K, in V>.plusAssign(
    pairs: Array<out Pair<K, V>>)

Appends or replaces all pairs from the given array of pairs in this mutable map.

Common
JVM
JS
Native
1.0
operator fun <K, V> MutableMap<in K, in V>.plusAssign(
    pairs: Sequence<Pair<K, V>>)

Appends or replaces all pairs from the given sequence of pairs in this mutable map.

Common
JVM
JS
Native
1.0
operator fun <K, V> MutableMap<in K, in V>.plusAssign(
    map: Map<K, V>)

Appends or replaces all entries from the given map in this mutable map.

Common
JVM
JS
Native
1.0
operator fun <T> MutableCollection<in T>.plusAssign(
    element: T)

Adds the specified element to this mutable collection.

Common
JVM
JS
Native
1.0
operator fun <T> MutableCollection<in T>.plusAssign(
    elements: Iterable<T>)

Adds all elements of the given elements collection to this mutable collection.

Common
JVM
JS
Native
1.0
operator fun <T> MutableCollection<in T>.plusAssign(
    elements: Array<T>)

Adds all elements of the given elements array to this mutable collection.

Common
JVM
JS
Native
1.0
operator fun <T> MutableCollection<in T>.plusAssign(
    elements: Sequence<T>)

Adds all elements of the given elements sequence to this mutable collection.