I am trying to find if the array doesn't include tag with the selected tag id then return true. However this code is not working.
!this.product.tags.includes(
tag =>
tag.type === 'shoes' &&
tag.Id === this.selectedProduct[item][1].tag.Id,
)
What is wrong and how can be it fixed?