UNPKG

@rdfjs/data-model

Version:

A basic implementation of the RDF/JS Data Model

14 lines (10 loc) 244 B
class BlankNode { constructor (id) { this.value = id } equals (other) { return !!other && other.termType === this.termType && other.value === this.value } } BlankNode.prototype.termType = 'BlankNode' export default BlankNode