ngClass compare number with array of numbers dynamically - Angular : <p>I have something like this:</p>

<pre><code>[ngClass]="{className: singleNumber == arrayOfNumbers}
</code></pre>

<p>How do I compare <code>1 === [1,2,3,4]</code> ? it works if I do this: arrayOfNumbers[0]</p>
