      
<div class="comment collapse" id="comment-func-poplast"><div class="p">
    <p>If <code>!self.isEmpty</code>, remove the last element and return it, otherwise
return <code>nil</code>.</p>

<p><strong>Complexity:</strong> O(<code>self.count</code>)</p>

    <h4>Declaration</h4>    
    <code class="language-swift">mutating func popLast() -&gt; Base._Element?</code>
    
        <h4>Declared In</h4>
        <a href="../../protocol/CollectionType/"><code>CollectionType</code></a>    
</div></div>
</div>