rdf-data-factory
Version:
A TypeScript/JavaScript implementation of the RDF/JS data factory.
17 lines • 443 B
JavaScript
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
;