Returns a Boolean value that indicates whether the set has no members in common with the given sequence.
- Xcode 8.3+
- Swift Standard Library
A sequence of elements.
othermust be finite.
true if the set has no elements in common with
In the following example, the
employees set is disjoint with the elements of the
visitors array because no name appears in both.