SyntaxFix
Write A Post
Hire A Developer
Questions
You're saying "if it's not set or it's different from add or it's different from delete". You realize that a != x && a != y, with x != y is necessarily false since a cannot be simultaneously two different values.
a != x && a != y
x != y
false
a