Instance Method

minusSet(_:)

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

Declaration

func minusSet(_ other: Set<AnyHashable>)

Parameters

other

The set of objects to remove from the receiving 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 union(NSOrderedSet)

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

func unionSet(Set<AnyHashable>)

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