Skip to main content

Reverse

Reverses the order of an object.

Syntax

reverse(List | Vector)
reverse(Range)

Description

Given a list or a vector, reverses it.

programming.reverse1.calc.png

Given a range a..b..step, returns a range b..a..-step.

programming.reverse2.calc.png