Non-idiomatic 'is' type check for an object

Last modified: 03 December 2024

Reports non-idiomatic is type checks for an object.

It's recommended to replace such checks with reference comparison.

Example:

After the quick-fix is applied: