reversed

Common
JVM
JS
Native
1.0
fun <T> Array<out T>.reversed(): List<T>
(source)
fun ByteArray.reversed(): List<Byte>
(source)
fun ShortArray.reversed(): List<Short>
(source)
fun IntArray.reversed(): List<Int>
(source)
fun LongArray.reversed(): List<Long>
(source)
fun FloatArray.reversed(): List<Float>
(source)
fun DoubleArray.reversed(): List<Double>
(source)
fun BooleanArray.reversed(): List<Boolean>
(source)
fun CharArray.reversed(): List<Char>
(source)
fun <T> Iterable<T>.reversed(): List<T>
(source)
@ExperimentalUnsignedTypes fun UIntArray.reversed(): List<UInt>
(source)
@ExperimentalUnsignedTypes fun ULongArray.reversed(): List<ULong>
(source)
@ExperimentalUnsignedTypes fun UByteArray.reversed(): List<UByte>
(source)
@ExperimentalUnsignedTypes fun UShortArray.reversed(): List<UShort>
(source)

Returns a list with elements in reversed order.