title: Twig {% if myId in myArray %} not checking for unique values?
body: <p>I have an ID that I need to check against an array of IDs.</p>
  
  <p>When I do this:</p>
  
  <pre><code>{% if myId in myArray %}
  </code></pre>
  
  <p>it works if I'm checking for something like <code>'10'</code> in an array of '<code>10</code>,<code>'11'</code>,<code>'12'</code>. However, if I check for '1' in the same array of '10','11','12', it results in true since <code>'1'</code> is present in the values listed (<code>'0'</code> or '<code>2</code>' would also result as true in this case). Obviously I'm wanting this to result to false since the exact integer '<code>1</code>' is not actually present in the array.</p>
  
  <p>Is there a way to have twig check for unique or exact integer values when using this function?</p>