Returns a Boolean value that indicates whether the set has no members in common with the given set.
- iOS 13.0+
- macOS 10.15+
- Mac Catalyst 13.0+
- Xcode 11.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.