methodThatTakes</span><span class="p">(</span><span class="nv">closure</span><span class="p">:</span> <span class="o">.</span><span class="nf">value</span><span class="p">({</span> <span class="nv">$0</span> <span class="p">})))</span>
</code></pre>
<h3 id='a-name-example5-2-a-working-with-escaping-closures' class='heading'><a name="example5.2"></a> Working with escaping closures</h3>

<p>There is no limitation as above for escaping closures. Still it makes little sense to compare two closures.</p>

<p>Samp