Kotlin HashSet size
Syntax & Examples


Syntax of HashSet.size

The syntax of HashSet.size property is:

val size: Int

This size property of HashSet returns the size of the collection.