kotlin-stdlib / kotlin.collections / toMutableMap toMutableMap Common JVM JS Native 1.1 fun <K, V> Map<out K, V>.toMutableMap(): MutableMap<K, V>(source) Returns a new mutable map containing all key-value pairs from the original map. The returned map preserves the entry iteration order of the original map.