WIP
This commit is contained in:
17
node_modules/rdf-data-factory/lib/Variable.js
generated
vendored
Normal file
17
node_modules/rdf-data-factory/lib/Variable.js
generated
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
"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
|
||||
Reference in New Issue
Block a user