isjoint(with: visitors))
// Prints &quot;true&quot;
</code></pre>
<ul>
<li>Parameter other: A set of the same type as the current set.</li>
</ul>
<h4>Declaration</h4><code class="language-swift">func isDisjoint(with other: Self) -> Bool</code></div></div><div id="isSubset_of-0aaacd211eef11273664bb09ea6b1ec4" class="declaration"><a class="toggle-link" href="#comment-isSubset_of-0aaacd211eef11273664bb09ea6b1ec4">func isSubset(of other: Self) -> Bool</a> <span class="required">Required</span><div class="commen