Skip to main content
Version: v0.18.0

ArrayReverse

Alias:ArrayReverse

Output:Array of T

Reverse the order of elements in an array

ParameterTypeRequiredPositionSummary
Arrayarray<T>1The array to reverse

Examples

SCL

ArrayReverse [1, 2, 3]

Expected Output

[3, 2, 1]