Converting Int to Bool
<p>In Swift 2.x I believe I could do:</p>

<pre><code>let number = 1
let result = Bool(number)

print(result) // prints out: true
</code></pre>

<p>But since Swift 3 I've been unable to do this and it gives me the error:</p>

<blockquote>
  <p>Cannot invoke initialiser for type 'Bool' with an argument list of
  type '(Int)'</p>
</blockquote>

<p>Currently I'm using an extension to convert an <code>Int</code> to a <code>Bool</code> but I was wondering if there isn't a build in option to do this.</p>