$$reverse
Reverses the order of elements in an array.
Usage​
{
"$$reverse": [ /* values */ ]
}
Returns​
array
(same as input)
Arguments​
Argument | Type | Values | Required / Default Value | Description |
---|---|---|---|---|
Primary | array | Yes | Array of elements |
Examples​
Input
Definition
Output
["a","b","b","c"]
{
"$$reverse":"$"
}
["c","b","b","a"]