UNPKG

@rdfjs/data-model

Version:

A basic implementation of the RDF/JS Data Model

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