ndex_-bidirectionalindextype-droplast_">func dropLast(<wbr>_:)</a>
        
<div class="comment collapse" id="comment-func-index_-bidirectionalindextype-droplast_"><div class="p">
    <p>Returns a subsequence containing all but the last <code>n</code> elements.</p>

<p><strong>Requires:</strong> <code>n &gt;= 0</code>
<strong>Complexity:</strong> O(<code>n</code>)</p>

    <h4>Declaration</h4>    
    <code class="language-swift">func dropLast(n: Int) -&gt; Slice&lt;Range&lt;Element&gt;&gt;</code>
    
    