Merge Nested If Inside Else into Else-If

Nested single if statements inside else blocks can be combined into else if statements.

refactoring
safe

Related Code Actions