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