You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
IsaacShelton edited this page Mar 21, 2022
·
1 revision
&& Operator
The && operator is used for performing the logical-and operation on two boolean-like types.
true && false
Precedence
The && operator does the same thing as the and operator, except that it has higher precedence. Because && has higher precedence, it will be evaluated before or/and expressions.
a or b && c
is the same as
a or (b and c)
Short Circuiting
If the first value is false, then the second value will not be evaluated.