Makes a new list with the same elements as the input list, but in the reverse order.
To reverse a Vector, use the negation operator, as in -myVector.
reverse ( list As List ) As List
Argument | Type | Description |
---|---|---|
list | List | The input list, for which a reversed copy will be returned. |
Intent >reverse({:a, :b, :c, :d}) --> {:d, :c, :b, :a}