A={a,b}
and B={b,c,d}.
Except for subset, equivalent,
and disjoint, the result of a set operation is another set.
Using the collection A and
B, the different set operators produce the
following:A and
B are united:
A UNION B = {a,b,c,d}
A DIFFERENCE B = {a}
B DIFFERENCE A = {c,d}
A XOR B = {a,c,d}
A INTERSECTION B = {b}
.true
if the first set contains only elements that also appear in the second set,
otherwise it returns .false:
A SUBSET B = .false B SUBSET A = .false
.true
if the first set contains only elements that also appear in the second set
and the two sets have the same number of elements,
otherwise it returns .false:
A EQUIVALENT B = .false B EQUIVALENT A = .false
.true
if there are no elements that appear in both sets,
otherwise it returns .false:
A DISJOINT B = .false B DISJOINT A = .false