Easy enough to remember because this is the simplest thing the language can do, but yeah, I have no idea if this is the same between popular languages.
In the non-Boolean case, a common implementation technique for a large switch with sequential values is a jump table. But that's only possible when all case labels are known.