set

operator fun set(index: Int, value: T) (source)

Sets the array element at the specified index to the specified value. This method can be called using the index operator:

arr[index] = value