print(nonNeighbors)
// Prints &quot;[&quot;Diana&quot;, &quot;Chris&quot;, &quot;Alicia&quot;]&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 subtracting(_ other: Self) -> Self</code></div></div><div id="symmetricDifference-6d93d25cdc494974245a2f9a6a777c1c" class="declaration"><a class="toggle-link" href="#comment-symmetricDifference-6d93d25cdc494974245a2f9a6a777c1c">func symmetricDifference(_ other: S