title: Is there an equivalent of "Array.None" in JS?
body: <p>There's a similar question for LINQ: <a href="https://stackoverflow.com/q/19338122/1366033">Is there an equivalent of <code>None()</code> in LINQ?</a></p>
  <p>There are some boolean methods on collections / arrays:</p>
  <ul>
  <li><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/some" rel="noreferrer"><code>Array.some</code></a> (similar to <a href="https://docs.microsoft.com/en-us/dotnet/api/system.linq.enumerable.any?view=netcore-3.1" rel="noreferrer"><code>linq.Any</code></a>)</li>
  <li><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/every" rel="noreferrer"><code>Array.every</code></a> (similar to <a href="https://docs.microsoft.com/en-us/dotnet/api/system.linq.enumerable.all?view=netcore-3.1" rel="noreferrer"><code>linq.All</code></a>)</li>
  </ul>
  <p>Can I check if no elements in array match a given function callback</p>
  <p>A possible workaround is to <code>.filter</code> and then check <code>.length</code> and make sure it's zero:</p>
  <pre class="lang-js prettyprint-override"><code>let arr = [&quot;a&quot;,&quot;b&quot;,&quot;c&quot;]
  // make sure that no item in array = &quot;b&quot;
  let noBs = arr.filter(el =&gt; el === &quot;b&quot;).length === 0
  </code></pre>