W3cubDocs

/Kotlin

stringSetOf

fun stringSetOf(vararg elements: String): HashSet<String>

Platform and version requirements: JS

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–2017 JetBrains s.r.o.
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/string-set-of.html