ent-drop-while_"><div class="p">
    <p>Returns a subsequence by skipping the initial, consecutive elements that
satisfy the given predicate.</p>

<p>The following example uses the <code>drop(while:)</code> method to skip over the
positive numbers at the beginning of the <code>numbers</code> array. The result
begins with the first element of <code>numbers</code> that does not satisfy
<code>predicate</code>.</p>

<pre><code class="language-swift">let numbers = [3, 7, 4, -2, 9, -6, 10, 1]
let startingWithNega