Classes
Methods
(static) evaluateExpression(expr, optionsopt, nullable, localsopt, nullable, builtinsopt)
Evaluate an expression model
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
expr |
Object | The expression model |
||
options |
Object |
<optional> <nullable> |
null | |
locals |
Object |
<optional> <nullable> |
null | The local variables |
builtins |
boolean |
<optional> |
true | If true, include the built-in expression functions |
- Source:
Throws:
Returns:
The expression result
(static) executeScript(script, optionsopt)
Execute a BareScript model
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
script |
Object | The BareScript model |
||
options |
Object |
<optional> |
{} |
- Source:
Throws:
Returns:
The script result