var evaluate =
The package exports a function of two arguments:
-
a boolean-json expression
-
an object map from string variable name to
true
orfalse
It returns true
or false
.
var assert =
The function throws an exception if its expression argument references an undefined variable.
assert