Is it possible to check if a variable is one of two values? For instance
Compare variable 'level' is in(1,2)
So this would return true of the value of 'level' is 1 or 2 and false for every other value.
I know this is possible via other ways but those ways would make me have to duplicate a lot of code - so I'm looking for a simple solution.