3 ms·
You can of course use a switch statement and the compiler will warn if the cases are not exhaustive for the enum.
by gpderetta 4y ago
You can of course use a switch statement and the compiler will warn if the cases are not exhaustive for the enum.