wbr>keepCapacity:)</a>
        
<div class="comment collapse" id="comment-func-removeall-keepcapacity_"><div class="p">
    <p>Remove all elements.</p>

<p><strong>Postcondition:</strong> <code>capacity == 0</code> iff <code>keepCapacity</code> is <code>false</code>.</p>

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

    <h4>Declaration</h4>    
    <code class="language-swift">mutating func removeAll(keepCapacity keepCapacity: Bool = default)</code>
    
        <h4>Declared In</h4>
    