← Docs
kotlin-stdlib / kotlin.collections / stringSetOf

stringSetOf

JS
1.1
fun stringSetOf ( vararg elements : String ) : HashSet < String >
(source)

Creates a new instance of the specialized implementation of HashSet with the specified String elements, which elements 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 .