nt-func-droplast">func dropLast()</a>
        
<div class="comment collapse" id="comment-func-droplast"><div class="p">
    <p>Returns a subsequence containing all but the last element.</p>

<p><strong>Requires:</strong> <code>self</code> is a finite sequence.
<strong>Complexity:</strong> O(<code>self.count</code>)</p>

    <h4>Declaration</h4>    
    <code class="language-swift">func dropLast() -&gt; Slice&lt;Range&lt;Element&gt;&gt;</code>
    
        <h4>Declared In</h4>
        <a href="../../protocol