toMutableMap

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.

Since Kotlin

1.1