Name

reverse — Reverse the ordering of elements in a list.

Syntax

reverse(list)
              

The REVERSE function has the following arguments:

list

A list to be reversed.

Description

Reverse the ordering of elements in a list. The elements in the returned list are identical, but the ordering of the elements are reversed.

Examples

Formula

Description

Result

reverse({'a','b','c'})Reverse the order of strings{'c','b','a'}
reverse({1,2,3})Reverse the order of numbers{3,2,1}