(
v: Expression,
b: Expression
)
| 634 | if (v === undefined) return false; |
| 635 | try { |
| 636 | return pred.subs(sub).evaluate().json === 'True'; |
| 637 | } catch { |
| 638 | return false; |
| 639 | } |
| 640 | }; |
| 641 | } |
| 642 | case 'cmp': { |
| 643 | const bound = boxGuardExpr(g.bound); |
| 644 | const compare = ( |
| 645 | v: Expression, |
| 646 | b: Expression |
| 647 | ): boolean | undefined => |
| 648 | g.op === 'gt' |
| 649 | ? v.isGreater(b) |
no test coverage detected