intersect(_:)
Removes from the receiving set each object that isn’t a member of another given set.
Declaration
func intersect(_ otherSet: Set<AnyHashable>)Parameters
- otherSet:
The set with which to perform the intersection.
Removes from the receiving set each object that isn’t a member of another given set.
func intersect(_ otherSet: Set<AnyHashable>)The set with which to perform the intersection.