1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-01-17 22:28:16 +01:00
dotSCAD/docs/lib3x-hashset_elems.md

19 lines
401 B
Markdown
Raw Normal View History

2021-03-08 18:21:14 +08:00
# hashset_elems
2021-03-08 18:17:50 +08:00
Returns a list containing all elements in a [util/set/hashset](https://openhome.cc/eGossip/OpenSCAD/lib3x-hashset.html). No guarantees to the order.
**Since:** 3.0
## Parameters
- `set` : The set.
## Examples
use <util/set/hashset.scad>;
use <util/set/hashset_elems.scad>;
s = hashset([1, 2, 3, 4, 5]);
echo(hashset_elems(s)); // a list contains 1, 2, 3, 4, 5