union
algebra.union(a, b)
Returns a set that represents the union of A and B (A ∪ B).
algebra.union(
{start: 0, end: 99},
{start: 100, end: 199},
) //-> {start: 0, end: 199}
Returns
{Set|Boolean}
:
If an object is returned, it is the union of A and B (A ∪ B).
If false
is returned, it means a union can't be created.