Navigation: Developing Apps > BINETIX® AGE™ API > The Node > Toolkits > age_sets
union/2
Description
union/2 is an Erlang function exported by "age_sets" module.
Creates union between List1 and List2 which includes all items of both sets.
References
None
Parameters
Name
Type
List1
list()
List with terms
List2
Result
Value or Type
Returns consolidated list of terms.
Code Sample
> age_sets:union([a, b, d, e], [a, b, c, f, g]). [a,b,c,d,e,f,g]