Match a type or an instance of it

I don’t see how it could get any simpler.

Note, however, that this is generally discouraged style.

2 Likes