Returns a new set containing the elements of this set that do not occur in the given set.
- iOS 8.0+
- macOS 10.10+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
- Xcode 8.0+
A set of the same type as the current set.
A new set.
In the following example, the
non set is made up of the elements of the
employees set that are not elements of