UNPKG

@rdf-esm/data-model

Version:

A basic implementation of the RDFJS Data Model

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