Module eval
The Eval module provides a handler for evaluating Lua expressions.
Returns the eval function.
Functions
| eval (ao) | The eval function. |
Functions
- eval (ao)
-
The eval function.
Handler for executing and evaluating Lua expressions.
After execution, the result is stringified and placed in ao.outbox.Output.
Parameters:
- ao {table} The ao environment object
Returns:
-
{function}
The handler function, which takes a message as an argument.
See also: