set
Sets the array element at the given index to the given value.
This method can be called using the index operator:
array[index] = value
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.0Sets the array element at the given index to the given value.
This method can be called using the index operator:
array[index] = value
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.1Sets the array element at the given index to the given value.
This method can be called using the index operator:
array[index] = value
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.0Sets the array element at the given index to the given value.
This method can be called using the index operator:
array[index] = value
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.3Sets the array element at the given index to the given value.
This method can be called using the index operator:
array[index] = value
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.8Sets the array element at the given index to the given value.
This method can be called using the index operator:
array[index] = value
If the index is out of bounds of this array, throws an IndexOutOfBoundsException except in Kotlin/JS where the behavior is unspecified.