Inspectopedia
 
2024.3

Nested conditional expression

Warning
Code Style
New
Last modified: 03 December 2024

Reports a ternary conditional expression within another ternary condition. Such nested conditionals may be extremely confusing, and best replaced by more explicit conditional logic.