Skip to content

Commit

Permalink
Fix typo and add missing RuleRace in isLogicRule
Browse files Browse the repository at this point in the history
  • Loading branch information
Sytten authored Jun 11, 2020
1 parent 27880cd commit bf29135
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ export function isLogicRule(x: any): x is ILogicRule {
(x.constructor.name === 'RuleOr' ||
x.constructor.name === 'RuleAnd' ||
x.constructor.name === 'RuleChain' ||
x.constructor.name === 'RuleNoe' ||
x.constructor.name === 'RuleRace' ||
x.constructor.name === 'RuleNot' ||
x.constructor.name === 'RuleTrue' ||
x.constructor.name === 'RuleFalse'))
)
Expand Down

0 comments on commit bf29135

Please sign in to comment.