union(_:)
Adds each object in another given set to the receiving set, if not present.
Declaration
func union(_ otherSet: Set<AnyHashable>)Parameters
- otherSet:
The set of objects to add to the receiving set.
Adds each object in another given set to the receiving set, if not present.
func union(_ otherSet: Set<AnyHashable>)The set of objects to add to the receiving set.