kotlin-stdlib / kotlin.collections / set set Common JVM JS Native 1.0 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.