Replaces an if statement with another if statement using an inverted condition inside.
The intention might be useful, for example, to simplify complex code using multiple nested if statements.