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