Instance Method

unionSet(_:)

Adds each object in another given set to the receiving mutable ordered set, if not present.

Declaration

func unionSet(_ other: Set<AnyHashable>)

Parameters

other

The set of objects to add to the receiving mutable ordered set.

See Also

Combining and Recombining Entries

func intersect(NSOrderedSet)

Removes from the receiving ordered set each object that isn’t a member of another ordered set.

func intersectSet(Set<AnyHashable>)

Removes from the receiving ordered set each object that isn’t a member of another set.

func minus(NSOrderedSet)

Removes each object in another given ordered set from the receiving mutable ordered set, if present.

func minusSet(Set<AnyHashable>)

Removes each object in another given set from the receiving mutable ordered set, if present.

func union(NSOrderedSet)

Adds each object in another given ordered set to the receiving mutable ordered set, if not present.