2016-09-12 10:30:05 +02:00
|
|
|
{
|
|
|
|
"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"}],
|
2018-08-24 14:04:27 +02:00
|
|
|
"examples": [ { "expression":"map('1','one','2', 'two')", "returns":"{ '1': 'one', '2': 'two' }"}
|
2016-09-12 10:30:05 +02:00
|
|
|
]
|
|
|
|
}
|