Sets
Combine and compare sets.
setintersection
setintersection(sets...) → setReturn elements common to all given sets.
| Parameter | Type | Description |
|---|---|---|
sets... | set | Variadic. |
setproduct
setproduct(sets...) → set(tuple)Compute the Cartesian product of the given sets.
| Parameter | Type | Description |
|---|---|---|
sets... | set | Variadic. |
setsubtract
setsubtract(a, b) → setReturn elements in the first set that are not in the second.
| Parameter | Type | Description |
|---|---|---|
a | set | |
b | set |
setunion
setunion(sets...) → setReturn the union of all given sets.
| Parameter | Type | Description |
|---|---|---|
sets... | set | Variadic. |