component4
operator fun ByteArray.component4(): Byte
operator fun ShortArray.component4(): Short
operator fun IntArray.component4(): Int
operator fun LongArray.component4(): Long
operator fun FloatArray.component4(): Float
operator fun DoubleArray.component4(): Double
operator fun BooleanArray.component4(): Boolean
operator fun CharArray.component4(): Char
@ExperimentalUnsignedTypes operator fun ULongArray.component4(): ULong
@ExperimentalUnsignedTypes operator fun UByteArray.component4(): UByte
@ExperimentalUnsignedTypes operator fun UShortArray.component4(): UShort
Returns 4th element from the array.
If the size of this array is less than 4, throws an IndexOutOfBoundsException except in Kotlin/JS where the behavior is unspecified.
operator fun <T> List<T>.component4(): T
Returns 4th element from the list.
Throws an IndexOutOfBoundsException if the size of this list is less than 4.