set

inline operator fun <K, V> MutableMap<K, V>.set(key: K, value: V)(source)

Allows to use the index operator for storing values in a mutable map.

Equivalent to calling MutableMap.put with the given key and value.

Since Kotlin

1.0