title: Export a boolean value with react hook
body: <p>I have this hook and I need export a const with an boolean value, this way is sending a string.</p>
  <pre><code>export const useType = () =&gt; {
    
      const isFoo = 'string';
      const isBar = 'other_string';
    
      return { isFoo, isBar };
    };
  </code></pre>
  <p>How can I transform this in an boolean value?</p>
  <p>I'm new, Thanks if anyone can help me</p>