reversed

fun <T> Array<out T>.reversed(): List<T>(source)

Returns a list with elements in reversed order.

Use reversedArray if you need to get the result in an array.

Since Kotlin

1.0

Returns a list with elements in reversed order.

Since Kotlin

1.0

Returns a list with elements in reversed order.

Use reversedArray if you need to get the result in an array.

Since Kotlin

1.3