Merge nested if-statements

Combine two nested if statements without additional operations into a single if-statement, using && to combine the conditions.

Refactoring
P42 for VS Code
P42 for GitHub
Merge nested if-statements

Related Code Actions

Learn More

Available In