Returns a list with all common objects of both collections.
| intersection(Collection coll) | |||
|---|---|---|---|
| Argument | Collection | coll | |
| Return value | Collection | ||
| Formula | Result |
|---|---|
| =Set{1,2,3,4}.intersection(Set{2,3}) | [2,3] |
This functionality is only available for certain module packages.