ass="nv">to</span><span class="p">:</span> <span class="n">vehicle</span><span class="p">)</span> <span class="p">{</span> <span class="n">response</span> <span class="k">in</span>
    <span class="k">if</span> <span class="n">response</span><span class="o">.</span><span class="nf">result</span> <span class="p">{</span>
        <span class="nf">print</span><span class="p">(</span><span class="s">"Command sent successfully!"</span><span class="p">)</span>
    <span class="p">}</span>
<span class="p">}</span>