1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-01-17 14:18:13 +01:00
dotSCAD/docs/lib3x-reverse.md

17 lines
183 B
Markdown
Raw Normal View History

2019-06-29 09:53:02 +08:00
# reverse
Reverse a list.
2019-08-24 10:13:25 +08:00
**Since:**: 2.0
2019-06-29 09:53:02 +08:00
## Parameters
- `lt` : The list to be reversed.
## Examples
2022-06-06 13:11:46 +08:00
use <util/reverse.scad>
2019-06-29 09:53:02 +08:00
2021-02-10 15:45:07 +08:00
assert(reverse([1, 2, 3]) == [3, 2, 1]);
2019-06-29 09:53:02 +08:00