I want to test whether a equals 1 or 2
a
I could do
a == 1 || a == 2
but this requires repeating
Maybe I'm being thick here, but it seems to me that:
(1..2) === a
...works.