W3cubDocs

/Kotlin

component4

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

Returns 4th 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/component4.html