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