1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-01-17 14:18:13 +01:00
dotSCAD/docs/lib3x-hashset_elems.md
2022-06-06 13:11:46 +08:00

19 lines
387 B
Markdown

# hashset_elems
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]);
assert(hashset_elems(s) == [1, 2, 3, 4, 5]);