mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-23 00:02:38 -05:00
16 lines
593 B
Plaintext
16 lines
593 B
Plaintext
{
|
|
"name": "map",
|
|
"type": "function",
|
|
"description": "Returns a map containing all the keys and values passed as pair of parameters.",
|
|
"variableLenArguments": true,
|
|
"arguments": [
|
|
{"arg":"key1", "syntaxOnly": true},
|
|
{"arg":"value1", "syntaxOnly": true},
|
|
{"arg":"key2", "syntaxOnly": true},
|
|
{"arg":"value2", "syntaxOnly": true},
|
|
{"arg":"key", "descOnly": true, "description":"a key (string)"},
|
|
{"arg":"value", "descOnly": true, "description":"a value"}],
|
|
"examples": [ { "expression":"map('1','one','2', 'two')", "returns":"{ '1': 'one', '2': 'two' }"}
|
|
]
|
|
}
|