Files
natural-language-report-ser…/node_modules/rdf-data-factory/lib/BlankNode.js
felix 4ef33c6417 WIP
2026-09-14 13:57:42 +02:00

17 lines
469 B
JavaScript

"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