REVERSE

Reverses the one-dimensional input array. The function type is generic, so it will reverse arrays of integers, strings, doubles, or anything you specify.

Format

REVERSE (array)

Arguments

 
array
A one-dimensional array.

Example

The following example illustrates the use of the REVERSE function:
 
Function
REVERSE({"hello", "world"})
Result
{"world", "hello"}