title: TypeScript simplest way to check if item exists in array like C# Linq Any ( using any library )
body: <p>TypeScript simplest way to check if item exists in array like C# Linq Any ( using any library ). Something like </p>
  
  <p><div class="snippet" data-lang="js" data-hide="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>var myArray=[1,2,3,4];
  
  var is_3_Exist=myArray.Any(x=&gt; x==3);</code></pre>
  </div>
  </div>
  </p>