elementSet.keys
One string key per element, equal for the same element of the same revision and node.
Usage
ElementSet.keys(s: ElementSet): string[]Parameters
sElementSetThe element set.
Returns
One key per listed element, in order: revision|node|kind| followed by the index, e<lo>:<hi>, c<i>,<j>, p<pid>, n<node> or k<connection>; [] for an empty set.
Example
ElementSet.keys(ElementSet.edges([[3, 1]], { node: 'box1' })) // → ['|box1|edge|e1:3']