component5

Returns 5th element from the array.

inline operator fun <T> Array<out T>.component5(): T(source)
fun main() {
    val arr = arrayOf("a", "b", "c", "d", "e")
    val fifth = arr.component5()
    println(fifth) // Output: e
}

Source