Navigation: Developing Apps > BINETIX® AGE™ API > The Node > Toolkits > age_lists
merge_maps/1
Description
merge_maps/1 is an Erlang function exported by "" module.
This function merges all map items from the input list into one resulting map. All input items different then map are skipped.
References
•merge/2
Parameters
Name
Type
Input
map()
List of maps.
Result
Value or Type
Returns the maps from the input list into one merged map.
Code Sample
> age_lists:merge_maps([#{a => 1, b => 2}, {z, 100}, #{a => 1, c => 3}, 12.5, #{d => 4, e => 5}]). #{a => 1,b => 2,c => 3,d => 4,e => 5}