UNPKG

rdf-data-factory

Version:

A TypeScript/JavaScript implementation of the RDF/JS data factory.

17 lines 442 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.Variable = void 0; /** * A term that represents a variable. */ class Variable { constructor(value) { this.termType = 'Variable'; this.value = value; } equals(other) { return !!other && other.termType === 'Variable' && other.value === this.value; } } exports.Variable = Variable; //# sourceMappingURL=Variable.js.map