Navigation: Developing Apps > BINETIX® AGE™ API > The Node > Toolkits > age_maps
del_values/2
Description
del_values/2 is an Erlang function exported by "age_maps" module.
Deletes list of keys at once from an existing map structure.
References
None
Parameters
Name
Type
Keys
list()
List of keys
Map
map()
Map structure
Result
Value or Type
Returns an updated map structure.
Code Sample
> age_maps:del_values([a, c], #{a => 1,b => 2,c => 3,d => 4}). #{b => 2,d => 4}