title: Jasmine - any boolean (jasmine.any(Boolean))
body: <p>I write unit tests for angular using karma, jasmine. Try to write: </p>
  
  <pre><code>expect(item).toEqual(jasmine.any(Boolean));
  </code></pre>
  
  <p>but got: </p>
  
  <pre><code>Expected true to equal &lt;jasmine.any(function Boolean() { [native code] })&gt;.
  </code></pre>
  
  <p>mm.. maybe i do something wrong) or is it another way to write test for value in that case: </p>
  
  <p>if (true or false) - passed, if any other - fail</p>