W3cubDocs

/Kotlin

stringMapOf

fun <V> stringMapOf(
    vararg pairs: Pair<String, V>
): HashMap<String, V>

Platform and version requirements: JS

Constructs the specialized implementation of HashMap with String keys, which stores the keys as properties of JS object without hashing them.

© 2010–2017 JetBrains s.r.o.
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/string-map-of.html