24 lines
716 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' }"
}],
"tags": ["taken", "containing", "key", "second", "same", "contain", "entries", "maps", "map"]
}