REVERSE function

Synopsis
This function reverses an array.
Variations
REVERSE(SourceArray)
Returns an array with the elements of the source array in the opposite order.
Parameters
SourceArray

Specifies the array to reverse.

Supported types: Boolean array; Numeric array; String array; Point array; Object array.
Returns
Returned types: Numeric array; Boolean array; String array; Point array; Object array.
Examples
1.

In the following example, the elements of the source array have their positions reversed to produce ["Assistant", "Design", "Matrox"].

REVERSE(["Matrox", "Design", "Assistant"])