get (original) (raw)

Returns the array element at the given index.

This method can be called using the index operator:

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.0

Returns the array element at the given index.

This method can be called using the index operator:

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.1

Returns the array element at the given index.

This method can be called using the index operator:

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.0

actual operator external fun get(index: Int): T(source)

Returns the array element at the given index.

This method can be called using the index operator:

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.3

Returns the array element at the given index.

This method can be called using the index operator:

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.8

Returns the array element at the given index.

This method can be called using the index operator:

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.8