Evaluating chained boolean logic of And and Or by the left-most expression first.
A and B
- If
A
is false, theB
is not evaluatedA or B
- If
A
is true, thenB
is not evaluated
Evaluating chained boolean logic of And and Or by the left-most expression first.
A and B
A
is false, the B
is not evaluated
A or B
A
is true, then B
is not evaluated