concatenate_maps_list
Concatenate a collection of map
s into a single map
, overriding with successive keys.
Arguments
Name | Description | Type |
---|---|---|
x | Collection of map objects. Each map is added together with increasing importance; successive map keys override those already defined. | maps |
Output value
Amap
with every key from every map
in x
.Example
x = [first: 'sherlock', second: 'john']
y = [first: 'del boy', third: 'rodney']
concatenate_maps_list([x,y])
// { "first": "del boy",
// "second": "john",
// "third": "rodney" }