get
Returns the array element at the given index.
This method can be called using the index operator:
value = array[index]
If the index is out of bounds of this array, throws an IndexOutOfBoundsException except in Kotlin/JS where the behavior is unspecified.
Since Kotlin
1.0Returns the array element at the given index.
This method can be called using the index operator:
value = array[index]
If the index is out of bounds of this array, throws an IndexOutOfBoundsException except in Kotlin/JS where the behavior is unspecified.
Since Kotlin
1.1Returns the array element at the given index.
This method can be called using the index operator:
value = array[index]
If the index is out of bounds of this array, throws an IndexOutOfBoundsException except in Kotlin/JS where the behavior is unspecified.
Since Kotlin
1.0Returns the array element at the given index.
This method can be called using the index operator:
value = array[index]
If the index is out of bounds of this array, throws an IndexOutOfBoundsException except in Kotlin/JS where the behavior is unspecified.
Since Kotlin
1.3Returns the array element at the given index.
This method can be called using the index operator:
value = array[index]
If the index is out of bounds of this array, throws an IndexOutOfBoundsException except in Kotlin/JS where the behavior is unspecified.
Since Kotlin
1.8Returns the array element at the given index.
This method can be called using the index operator:
value = array[index]
If the index is out of bounds of this array, throws an IndexOutOfBoundsException except in Kotlin/JS where the behavior is unspecified.