UNPKG

rdf-data-factory

Version:

A TypeScript/JavaScript implementation of the RDF/JS data factory.

17 lines 469 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.BlankNode = void 0; /** * A term that represents an RDF blank node with a label. */ class BlankNode { constructor(value) { this.termType = 'BlankNode'; this.value = value; } equals(other) { return !!other && other.termType === 'BlankNode' && other.value === this.value; } } exports.BlankNode = BlankNode; //# sourceMappingURL=BlankNode.js.map