if / else if / else
Also written: if, else, else if, if statement
Statements that run a block only when a condition is true. Conditions are checked in order, and only the first matching block runs.
Also written: if, else, else if, if statement
Statements that run a block only when a condition is true. Conditions are checked in order, and only the first matching block runs.