title: How to quickly check if an Integer lies within a given range
body: <p>I have an integer <code>x</code> and I want to check if it lies between a given boundary / within a given range.</p>
  
  <p>The straightforward approach would be </p>
  
  <pre><code>let contains = x &gt; lowerBounds &amp;&amp; x &lt; higherBounds
  </code></pre>
  
  <p>Is there a more swifty approach to this?</p>