mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-23 00:02:38 -05:00
11 lines
472 B
Plaintext
11 lines
472 B
Plaintext
{
|
|
"name": "eval",
|
|
"type": "function",
|
|
"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'"},
|
|
{ "expression":"eval(@expression_var)", "returns":"[whatever the result of evaluating @expression_var might be…]"}
|
|
]
|
|
}
|