get

Platform and version requirements: JVM (1.0), JS (1.0), Native (1.0)
operator fun get(index: Int): UShort

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.

© 2010–2021 JetBrains s.r.o. and Kotlin Programming Language contributors
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-short-array/get.html