mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-01-17 14:18:13 +01:00
17 lines
193 B
Markdown
17 lines
193 B
Markdown
|
# reverse
|
||
|
|
||
|
Reverse a list.
|
||
|
|
||
|
**Since: **: 2.0
|
||
|
|
||
|
## Parameters
|
||
|
|
||
|
- `lt` : The list to be reversed.
|
||
|
|
||
|
## Examples
|
||
|
|
||
|
include <util/reverse.scad>;
|
||
|
|
||
|
echo(reverse([1, 2, 3])); // ECHO: [3, 2, 1]
|
||
|
|