de>Stride</code> conforms to <code>Integer</code>, then <code>self.advanced(by: x) == other</code>.</p>

<p><strong>Complexity:</strong> O(1).</p>

    <h4>Declaration</h4>    
    <code class="language-swift">func distance(to other: Int) -&gt; Int</code>
    
        <h4>Declared In</h4>
        <a href="../../protocol/SignedInteger/"><code>SignedInteger</code></a>    
</div></div>
</div>
<div class="declaration" id="func-tointmax">
<a class="toggle-link" data-toggle="collapse" href="#comment-func-tointmax