Navigation: Developing Apps > BINETIX® AGE™ API > The Node > Toolkits > age_maps
merge/2
Description
merge/2 is an Erlang function exported by "age_maps" module.
This function merges two maps from left to right.
References
•merge/2
Parameters
Name
Type
Left
map()
Left map to merge from.
Right
Right map to be merged.
Result
Value or Type
Returns an updated map structure.
Code Sample
> age_maps:merge(#{a => 1, b => 2}, #{b => 1, c => 3}). #{a => 1,b => 2,c => 3}