KotlinListreversed

Returns a list with elements in reversed order.

Syntax

list.reversed()