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