Convert If-Else to Conditional Expression

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

refactoring (convert)
safe

Related Code Actions