2015-12-07 19:00:51 +01:00
|
|
|
{
|
|
|
|
"name": "eval",
|
|
|
|
"type": "function",
|
2020-07-02 01:46:48 +01:00
|
|
|
"groups": ["General"],
|
2015-12-07 19:00:51 +01:00
|
|
|
"description": "Evaluates an expression which is passed in a string. Useful to expand dynamic parameters passed as context variables or fields.",
|
|
|
|
"arguments": [ {"arg":"expression","description":"an expression string"}],
|
|
|
|
"examples": [
|
|
|
|
{ "expression":"eval('\\'nice\\'')", "returns":"'nice'"},
|
2018-10-27 18:16:11 +02:00
|
|
|
{ "expression":"eval(@expression_var)", "returns":"[whatever the result of evaluating @expression_var might be…]"}
|
2015-12-07 19:00:51 +01:00
|
|
|
]
|
|
|
|
}
|