Replacement of a Set<rdf.BlankNode> object: the build-in Set structure does not compare the RDF terms, therefore does not filter out duplicate BNode instances.

(Inspired by the TermSet class from @rdfjs/term-set, which could not be used directly due to some node.js+typescript issues. This version is stripped down to the strict minimum.)

Hierarchy

  • BnodeSet

Constructors

Accessors

Methods

Constructors

Accessors

Methods

  • Returns IterableIterator<BlankNode>