Creates a new set using values common to both the current instance and another set.
In other words, returns a copy of the current instance with all values removed that
are not in the other set.
A ∩ B = {x : x ∈ A ∧ x ∈ B}
Parameters
set
The other set.
Return Values
The intersection of the current instance and another set.