REVERSE
Reverse a list

Description

Returns a list containing all the values from the given list, but in reverse order.

Function signature

1
REVERSE(list: Array) => Array
Copied!
Parameter
Description
List
List to reverse

Examples

1
charArray = ["a","b","c"]
2
numbersArray = [1,2,3]
3
simpleArray = [1]
Copied!
Formula
Return value
REVERSE(charArray)
["c","b","a"]
REVERSE(numbersArray)
[3,2,1]
REVERSE(simpleArray)
[1]
Last modified 1yr ago
Export as PDF
Copy link