kotlin-stdlib / kotlin.collections / Collection / size size Common JVM JS Native 1.0 abstract val size: Int(Common source) (JS source) (Native source) Returns the size of the collection.