← Docs
kotlin-stdlib / kotlin.collections / stringMapOf

stringMapOf

JS
1.1
fun < V > stringMapOf (
vararg pairs : <ERROR CLASS> < String , V >
) : HashMap < String , V >

(source)

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

Stay in touch:
  • Contributing to Kotlin
  • Releases
  • Press Kit
  • Security
  • Blog
  • Issue Tracker
  • Brand assets
  • Careers
Supported and developed by JetBrains .
Kotlin™ is protected under the Kotlin Foundation
and licensed under the Apache 2 license .