component4
operator fun ByteArray.component4(): Byteoperator fun ShortArray.component4(): Shortoperator fun IntArray.component4(): Intoperator fun LongArray.component4(): Longoperator fun FloatArray.component4(): Floatoperator fun DoubleArray.component4(): Doubleoperator fun BooleanArray.component4(): Booleanoperator fun CharArray.component4(): Char@ExperimentalUnsignedTypes operator fun ULongArray.component4(): ULong@ExperimentalUnsignedTypes operator fun UByteArray.component4(): UByte@ExperimentalUnsignedTypes operator fun UShortArray.component4(): UShortReturns 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(): TReturns 4th element from the list.
Throws an IndexOutOfBoundsException if the size of this list is less than 4.