(rontolisp) docs
← Functions

reverse

(reverse sequence)

Returns a new sequence with the elements of sequence in reverse order, leaving the original untouched. The sequence may be a list or a string; a string reverses to a new string. This is the non-destructive counterpart to nreverse. The empty list reverses to nil.