length

Returns the number of elements in the array.

Since Kotlin

1.9