Returns a new set containing the elements of this set that do not occur in the given set.
- iOS 13.0+
- macOS 10.15+
- Mac Catalyst 13.0+
- tvOS 13.0+
- watchOS 6.0+
- Xcode 11.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