component3
operator fun ByteArray.component3(): Byte
operator fun ShortArray.component3(): Short
operator fun IntArray.component3(): Int
operator fun LongArray.component3(): Long
operator fun FloatArray.component3(): Float
operator fun DoubleArray.component3(): Double
operator fun BooleanArray.component3(): Boolean
operator fun CharArray.component3(): Char
@ExperimentalUnsignedTypes operator fun ULongArray.component3(): ULong
@ExperimentalUnsignedTypes operator fun UByteArray.component3(): UByte
@ExperimentalUnsignedTypes operator fun UShortArray.component3(): UShort
Returns 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(): T
Returns 3rd element from the list.
Throws an IndexOutOfBoundsException if the size of this list is less than 3.