SyntaxFix
Write A Post
Hire A Developer
Questions
Just use ||
||
if (A || B) { your action here }
Note: with string and number. It's more complicated.
Check this for deep understading: