mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-26 00:02:08 -05:00
16 lines
590 B
Plaintext
16 lines
590 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":"map: 1: 'one', 2: 'two'"}
|
||
|
]
|
||
|
}
|