component4

Returns 4th element from the array.

inline operator fun <T> Array<out T>.component4(): T(source)
fun main() {
    val numbers = arrayOf(10, 20, 30, 40, 50)
    val fourthNumber = numbers.component4()
    println("The 4th element is $fourthNumber")
}

Source