Skip to main content
Returns an array of the same size and type as the original array, with the elements in reverse order. Nulls are retained.

Syntax

Parameters

Return Type

ARRAY of the same type as the input array

Examples

The following example returns the reverse of the input array:

Rows: 1Execution time: 6.41ms

Only the outermost array is reversed for nested arrays:

Rows: 1Execution time: 5.93ms