set:distinct()
set:distinct()
returns a subset of the nodes in the specified node-set, returning only nodes with unique string values.
Syntax
set:distinct(nodeSet)
Parameters
nodeSet
- The node-set in which to find unique nodes.
Returns
A node-set containing the nodes that have unique string values.
Specifications
Browser compatibility
BCD tables only load in the browser