title: How can I convert an int to an array of bool?
body: <p>How can I convert an int to an array of bool (representing the bits in the integer)? For example:</p>
  
  <pre><code>4 = { true, false, false }
  7 = { true, true, true }
  255 = { true, true, true, true, true, true, true, true }
  </code></pre>