title: Would this tell me if this value is in an array?
body: <p>I have a variable located inside an array and I'm wondering if this would tell me if that variable: <code>FRT_SOLID</code> is in an array?</p>
  <pre class="lang-js prettyprint-override"><code>(arr.some((elem) =&gt; elem == &quot;FRT_SOLID&quot;))
  </code></pre>
  <p>If so, would this tell me if <code>FRT_SOLID</code> nowhere in the array?</p>
  <pre class="lang-js prettyprint-override"><code>(arr.some((elem) =&gt; elem != &quot;FRT_SOLID&quot;))
  </code></pre>