At runtime they are the same. And an `is`-check is...
# language-proposals
o
At runtime they are the same. And an
is
-check is a runtime check. But at compile time, you're right. They're not the same. For the above case, though, it should suffice to only check for
is Left
and
is Right