Kotlin HashSet indices
Syntax & Examples


Syntax of HashSet.indices

The syntax of HashSet.indices extension property is:

val Collection<*>.indices: IntRange

This indices extension property of HashSet returns an IntRange of the valid indices for this collection.