2020-07-02 15:03:16 +10:00

14 lines
578 B
Plaintext

{
"name": "map_concat",
"type": "function",
"groups": ["Maps"],
"description": "Returns a map containing all the entries of the given maps. If two maps contain the same key, the value of the second map is taken.",
"variableLenArguments": true,
"arguments": [
{"arg":"map1", "syntaxOnly": true},
{"arg":"map2", "syntaxOnly": true},
{"arg":"map", "descOnly": true, "description":"a map"}],
"examples": [ { "expression":"map_concat(map('1','one', '2','overridden'),map('2','two', '3','three'))", "returns":"{ '1': 'one, '2': 'two', '3': 'three' }"}
]
}