Skip to content

Commit

Permalink
isVar Type consistency linkeddata#355
Browse files Browse the repository at this point in the history
  • Loading branch information
joepio committed Oct 8, 2019
1 parent 80b8803 commit 7a9c7c3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/formula.js
Original file line number Diff line number Diff line change
Expand Up @@ -644,7 +644,7 @@ export default class Formula extends Node {
Formula.termType = 'Graph'

Formula.prototype.classOrder = ClassOrder['Graph']
Formula.prototype.isVar = 0
Formula.prototype.isVar = false

Formula.prototype.ns = Namespace
Formula.prototype.variable = name => new Variable(name)
2 changes: 1 addition & 1 deletion src/variable.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,4 @@ export default class Variable extends Node {

Variable.termType = 'Variable'
Variable.prototype.classOrder = ClassOrder['Variable']
Variable.prototype.isVar = 1
Variable.prototype.isVar = true

0 comments on commit 7a9c7c3

Please sign in to comment.