UNPKG

@rdf-esm/data-model

Version:

A basic implementation of the RDFJS Data Model

14 lines (11 loc) 231 B
export class NamedNode { constructor (iri) { this.value = iri } equals (other) { return !!other && other.termType === this.termType && other.value === this.value } get termType () { return 'NamedNode' } }