reverse
Summary
Returns a reversed version of the input array.
Usage
input|reverse()
Returns
A reversed version of the input array.
Description
This operator returns a reversed version (elements in reverse order) of the input array.
Examples
Example 1
{array( 1, 2, 3, 4 )|reverse}The following array will be returned: ( 4, 3, 2, 1 ).
Contributors
- Balazs Halasy Updated
Comments
Add a comment