Navigation: Developing Apps > BINETIX® AGE™ API > The Node > Toolkits > age_maps
merge/1
Description
merge/1 is an Erlang function exported by "age_maps" module.
This function simply merges multiple map structures into one consolidated map.
References
None
Parameters
Name
Type
ListOfMaps
list(map())
List of maps to be merge as one
Result
Value or Type
map()
Returns an updated map structure.
Code Sample
> age_maps:merge([#{a => 1, b => 1}, #{b => 2, c => 2}, #{c => 3, d => 4}, #{}]). #{a => 1,b => 2,c => 3,d => 4}