If statement

If statements enable conditional code execution.
Standalone if statement
If else
Standalone if statement
If statements short-circuit or expressions. The right side of an or expression is not evaluated if the left side is true.
If statements short-circuit and expressions. The right side of an and expression is not evaluated if the left side is false.
If statement with type condition is.
Type conditions must stand on their own, they can not be nested expressions.
If statement with inverted type condition is not.