Convert if-else into conditional expression

Convert an if-else return or assignment expression into a conditional expression.

Refactoring (Convert)
P42 for VS Code
P42 for GitHub
Convert if-else into conditional expression

Configuration

Related Code Assists

Learn More

Available In