Inspectopedia
 
2024.3

`if` condition is constant

Warning
New
Last modified: 03 December 2024

Reports if expressions that have true or false constant literal condition and can be simplified.