Functions

Assert

assert(Boolean, String): Boolean

Raises an execution error when the first argument is false. The second argument is the error message.

MustEqual

mustEqual(a, b): Boolean

Raises an execution error if the arguments arent exactly the same.

MustMatch

mustMatch(String, Regex): Boolean

Raises an execution error when the first argument (String) doesn’t match the second argument (Regex)