new IfStatementEvaluator()
- Source:
Methods
(static) compare(expr)
Compares the two given values using the respective operator
Parameters:
Name | Type | Description |
---|---|---|
expr |
object |
- Source:
(static) eval(scope, expr)
Evaluatues if statements
Parameters:
Name | Type | Description |
---|---|---|
scope |
object | |
expr |
object |
- Source:
(static) isTrue(expr, scope)
Determines whether if statement condition is truthy
Parameters:
Name | Type | Description |
---|---|---|
expr |
object | |
scope |
object |
- Source: