Inspectopedia
 
2024.3

Ternary expression can be replaced with condition

Info
New
Last modified: 03 December 2024

Reports the ternary expressions specified as condition ? true : false that can be safely replaced with just condition.