Navigation: Developing Apps > BINETIX® AGE™ API > The Node > Toolkits > age_lists
del_key/2
Description
del_key/2 is an Erlang function exported by "age_lists" module.
Deletes all occurrences of the Key from the List.
References
None
Parameters
Name
Type
Key
atom()
Key name.
Input
list()
Input list of terms.
Result
Value or Type
Returns a modified list of terms.
Code Sample
> age_lists:del_key(b, [{a, 1}, {b, 2}, {c, 3}, {b, 4}]). [{a,1}, {c,3}]