Navigation: Developing Apps > BINETIX® AGE™ API > The Node > Toolkits > age_sets
check_subset/2
Description
check_subset/2 is an Erlang function exported by "age_sets" module.
Returns `true' if List2 is a complete subset of List1, otherwise returns `false'.
References
None
Parameters
Name
Type
List1
list()
List with terms
List2
Result
Value or Type
Returns consolidated list of terms.
Code Sample
> age_sets:check_subset([a, b, d, e], [a, b, c, f, g]). false > age_sets:check_subset([a, b, d, e], [a, b]). true