I'm trying to trigger a class if the item exist inside the array, but I can't figure it out.
<div *ngFor="let item of someList">
<button [ngClass]="{'isSelected': selectedArr contains item}"></button>
..
selectedArr
is the array that contains some item.