Replaces a conditional expression with the equivalent if-else statement if possible.