Kotlin HashSet toShortArray()
Syntax & Examples
Syntax of HashSet.toShortArray()
The syntax of HashSet.toShortArray() extension function is:
fun Collection<Short>.toShortArray(): ShortArray
This toShortArray() extension function of HashSet returns an array of Short containing all of the elements of this collection.