Hm,. that makes no logical sense though. is
does not check for equality.
…later…
ahh, kill me now (emphasis mine):
The
is
operator checks if the result of an expression is compatible with a given type, or (starting with C# 7.0) tests an expression against a pattern.
— The `is` operator - Match an expression against a type or constant pattern - C# | Microsoft Learn
what the actual frack!?