mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-01-18 06:38:14 +01:00
16 lines
231 B
Markdown
16 lines
231 B
Markdown
|
# shuffle
|
||
|
|
||
|
Randomizes the order of the elements of a list.
|
||
|
|
||
|
**Since:** 3.0
|
||
|
|
||
|
## Parameters
|
||
|
|
||
|
- `lt` : The list to shuffle.
|
||
|
- `seed` : Random seed value.
|
||
|
|
||
|
## Examples
|
||
|
|
||
|
use <util/shuffle.scad>;
|
||
|
|
||
|
echo(shuffle([1, 2, 3, 4]));
|