elementSet.size
The number of elements a set lists.
Usage
ElementSet.size(s: ElementSet): numberParameters
sElementSetThe element set.
Returns
The length of the set’s element list (indices, edges, cvs, pids, nodes or connections, the first present); 0 when none is present. It is the listed count, not total.
Example
ElementSet.size(ElementSet.edges([[0, 1], [1, 2]])) // → 2