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

18 lines
333 B
Markdown
Raw Normal View History

2021-03-09 17:20:25 +08:00
# hashset_len
2021-03-08 18:17:50 +08:00
Returns the length of the elements in a [util/set/hashset](https://openhome.cc/eGossip/OpenSCAD/lib3x-hashset.html).
**Since:** 3.0
## Parameters
- `set` : The set.
## Examples
2022-06-06 13:11:46 +08:00
use <util/set/hashset.scad>
use <util/set/hashset_len.scad>
2021-03-08 18:17:50 +08:00
s = hashset([1, 2, 3, 4, 5]);
assert(hashset_len(s) == 5);