Returns a Boolean value that indicates whether the set has no members in common with the given set.
Required. Default implementation provided.
- Xcode 10.0+
- Swift Standard Library
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.