I´m trying to make my comparation more concise this way, but it doesnt work:
if (this.filterControl.value === ("YES" || "NO"))
This one works:
if (this.filterControl.value === "YES" || this.filterControl.value === "NO")
I´m trying to make my comparation more concise this way, but it doesnt work:
if (this.filterControl.value === ("YES" || "NO"))
This one works:
if (this.filterControl.value === "YES" || this.filterControl.value === "NO")