I'm attempting to apply a class if an item exists within the array, but I'm struggling with it.
<div *ngFor="let item of someList">
<button [ngClass]="{'isSelected': selectedArr includes item}"></button>
..
selectedArr
holds the array that includes certain items.