Inspectopedia
 
2024.3

Suspicious combination of == and ===

Info
New
Last modified: 03 December 2024

Reports == and === comparisons that are both used on the same variable within a single expression.

Due to similarities == and === could be mixed without notice, and it takes a close look to check that == used instead of ===

Example: