Kotlin HashSet toUShortArray()
Syntax & Examples


Syntax of HashSet.toUShortArray()

The syntax of HashSet.toUShortArray() extension function is:

fun Collection<UShort>.toUShortArray(): UShortArray

This toUShortArray() extension function of HashSet returns an array of UShort containing all of the elements of this collection.