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
2021-03-08 18:21:14 +08:00

401 B

hashset_elems

Returns a list containing all elements in a util/set/hashset. 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