kotlin-stdlib
Common
kotlin-stdlib
/
kotlin.collections
/
reversed
reversed
Common
fun
<
T
>
Array
<
out
T
>
.
reversed
(
)
:
List
<
T
>
Content copied to clipboard
fun
ByteArray
.
reversed
(
)
:
List
<
Byte
>
Content copied to clipboard
fun
ShortArray
.
reversed
(
)
:
List
<
Short
>
Content copied to clipboard
fun
IntArray
.
reversed
(
)
:
List
<
Int
>
Content copied to clipboard
fun
LongArray
.
reversed
(
)
:
List
<
Long
>
Content copied to clipboard
fun
FloatArray
.
reversed
(
)
:
List
<
Float
>
Content copied to clipboard
fun
DoubleArray
.
reversed
(
)
:
List
<
Double
>
Content copied to clipboard
fun
BooleanArray
.
reversed
(
)
:
List
<
Boolean
>
Content copied to clipboard
fun
CharArray
.
reversed
(
)
:
List
<
Char
>
Content copied to clipboard
fun
<
T
>
Iterable
<
T
>
.
reversed
(
)
:
List
<
T
>
Content copied to clipboard
Returns a list with elements in reversed order.
@
ExperimentalUnsignedTypes
fun
UIntArray
.
reversed
(
)
:
List
<
UInt
>
Content copied to clipboard
@
ExperimentalUnsignedTypes
fun
ULongArray
.
reversed
(
)
:
List
<
ULong
>
Content copied to clipboard
@
ExperimentalUnsignedTypes
fun
UByteArray
.
reversed
(
)
:
List
<
UByte
>
Content copied to clipboard
@
ExperimentalUnsignedTypes
fun
UShortArray
.
reversed
(
)
:
List
<
UShort
>
Content copied to clipboard
Returns a list with elements in reversed order.
Since Kotlin
1.3