i'd like to combine to clauses of my case statement, and I do this:
//do something (the same as in the first when)
But how can I combine the two "when"-s. It is redundant to write the
same code to "do something"
I tried to find the syntax, but couldn't.
I tried something like:
//do the thing
but this only works when check = value2