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