Convert if-else to switch

Convert if-else statement chain with equality comparisons to switch statement.

Refactoring (Convert)
P42 for VS Code
Convert if-else to switch

Configuration

Learn More

Available In