Returns the intersection of two sets.
Set = SetIntersection (Set1, Set2)
Variable | Description |
---|---|
Set | The resulting intersection set. SET. |
Set1 | One set to be combined for the intersection. SET. |
Set2 | The other set for the intersection. SET. |
The intersection of two sets is the set consisting of all members that both sets share in common. In the example, SetIntersection returns a set with one member, Blue.
COLORS SamsColors = {Blue, Green} COLORS PamsColors = {Red, Purple, Blue} COLORS OurColors = SetIntersection (SamsColors, PamsColors)