Inspectopedia
 
2024.3

Simplifiable 'when'

Info
New
Last modified: 03 December 2024

Reports when expressions with the constant true or false branches.

Simplify "when" quick-fix can be used to amend the code automatically.

Examples: