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

17 lines
443 B
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.NamedNode = void 0;
/**
* A term that contains an IRI.
*/
class NamedNode {
constructor(value) {
this.termType = 'NamedNode';
this.value = value;
}
equals(other) {
return !!other && other.termType === 'NamedNode' && other.value === this.value;
}
}
exports.NamedNode = NamedNode;
//# sourceMappingURL=NamedNode.js.map