ta&quot;]
employees.formIntersection(neighbors)
print(employees)
// Prints &quot;[&quot;Bethany&quot;, &quot;Eric&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">mutating func formIntersection(_ other: Self)</code></div></div><div id="formSymmetricDifference-3075f11b00f142880bae0207f58a0db9" class="declaration"><a class="toggle-link" href="#comment-formSymmetricDifference-3075f11b00f142880bae0207f58a0