Nested conditional expression

Last modified: 03 December 2024

Reports ternary conditional expressions that are nested inside other conditional expressions. Such nested conditionals may be very confusing. "Elvis" expressions are counted as conditionals for purpose of this inspection.

Example: