title: Filter array by values below specific number
body: <p>I have this array:</p>
  
  <pre><code>let numbers = [0,1,2,3,4,5,6,7,8,9]
  </code></pre>
  
  <p>And I want to append all numbers below 6 in this array below:</p>
  
  <pre><code>var belowSix = [Int]()
  </code></pre>
  
  <p>Here is what I have done and it works:</p>
  
  <pre><code>for number in numbers {
      if number &lt; 6 {
          belowSix.append(number)
      }
  }
  </code></pre>
  
  <p><strong>Question:</strong><br>
  It feels like this can be done in a smoother way, any suggestions?</p>