W3cubDocs

/Kotlin

stringSetOf

Platform and version requirements: JS (1.1)
fun stringSetOf(vararg elements: String): HashSet<String>

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.

© 2010–2020 JetBrains s.r.o. and Kotlin Programming Language contributors
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/string-set-of.html