Returns a Boolean value that indicates whether the set has no members in common with the given set.
- iOS 7.0+
- macOS 10.9+
- tvOS 9.0+
- watchOS 2.0+
- Xcode 8.0+
A set of the same type as the current set.
true if the set has no elements in common with
In the following example, the
employees set is disjoint with the
visitors set because no name appears in both sets.