Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

19 lines
650 B
Plaintext
Raw Permalink Normal View History

{
"name": "eval",
"type": "function",
2020-07-02 01:46:48 +01:00
"groups": ["General"],
"description": "Evaluates an expression which is passed in a string. Useful to expand dynamic parameters passed as context variables or fields.",
2022-01-13 08:56:17 -05:00
"arguments": [{
"arg": "expression",
"description": "an expression string"
}],
"examples": [{
"expression": "eval('\\\\'nice\\\\'')",
2022-01-13 08:56:17 -05:00
"returns": "'nice'"
}, {
"expression": "eval(@expression_var)",
"returns": "[whatever the result of evaluating @expression_var might be\u2026]"
}],
"tags": ["dynamic", "fields", "parameters", "expression", "expand", "context", "passed", "variables", "evaluates"]
}