W3cubDocs

/Kotlin

size

open val size: Int

Overrides AbstractCollection.size

Overrides Collection.size

Overrides Set.size

Platform and version requirements: JS

Returns the size of the collection.

Getter

Returns the size of the collection.

© 2010–2017 JetBrains s.r.o.
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-hash-set/size.html