W3cubDocs

/Kotlin

component5

inline operator fun <T> Array<out T>.component5(): T
inline operator fun ByteArray.component5(): Byte
inline operator fun ShortArray.component5(): Short
inline operator fun IntArray.component5(): Int
inline operator fun LongArray.component5(): Long
inline operator fun FloatArray.component5(): Float
inline operator fun DoubleArray.component5(): Double
inline operator fun BooleanArray.component5(): Boolean
inline operator fun CharArray.component5(): Char
inline operator fun <T> List<T>.component5(): T

Returns 5th element from the collection.

© 2010–2017 JetBrains s.r.o.
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/component5.html