component3
operator fun ByteArray.component3(): Byteoperator fun ShortArray.component3(): Shortoperator fun IntArray.component3(): Intoperator fun LongArray.component3(): Longoperator fun FloatArray.component3(): Floatoperator fun DoubleArray.component3(): Doubleoperator fun BooleanArray.component3(): Booleanoperator fun CharArray.component3(): Char@ExperimentalUnsignedTypes operator fun ULongArray.component3(): ULong@ExperimentalUnsignedTypes operator fun UByteArray.component3(): UByte@ExperimentalUnsignedTypes operator fun UShortArray.component3(): UShortReturns 3rd element from the array.
If the size of this array is less than 3, throws an IndexOutOfBoundsException except in Kotlin/JS where the behavior is unspecified.
operator fun <T> List<T>.component3(): TReturns 3rd element from the list.
Throws an IndexOutOfBoundsException if the size of this list is less than 3.