component3

Returns 3rd element from the array.

inline operator fun <T> Array<out T>.component3(): T(source)
fun main() {
    val numbers = arrayOf(10, 20, 30, 40)
    val third = numbers.component3()   // access the third element
    println(third)                     // prints: 30
}

Source