CLONEREVERSE


lists strings binary
Since v1.0.0
Available on all platforms
See also

The function CLONEREVERSE clone the input and reverses the order of the elements. Output is a reference to a new object.

Applied on a byte array, REVERSE reverses the endianness.

Signature

Examples

<% DUP CLONEREVERSE == %> 'simplestpalindrom' STORE 'level' @simplestpalindrom 'foo' @simplestpalindrom //try to replace CLONEREVERSE by REVERSE...
[ 'eins' 'zwei' 'drei' ] 'mylist' STORE $mylist CLONEREVERSE //output is the reference to the reversed list $mylist //original list preserved