kotlin-stdlib / kotlin / ShortArray / size size Common JVM JS Native 1.0 val size: Int(Common source) (JS source) (Native source) Returns the number of elements in the array.