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
not A returns the Negation of its single argument.
All logical operators are short circuiting. This means if by evaluating the first argument to the operator guarantees a result, the other argument is not evaluated. false and 1 over 0 is false and does not produce an error for dividing by zero.
The text was updated successfully, but these errors were encountered:
Rockstar has 4 different logical operators that first convert their operand(s) to a boolean by truthiness.
A and B
returns the ConjunctionA or B
returns the DisjunctionA nor B
returns the Joint Denialnot A
returns the Negation of its single argument.All logical operators are short circuiting. This means if by evaluating the first argument to the operator guarantees a result, the other argument is not evaluated.
false and 1 over 0
isfalse
and does not produce an error for dividing by zero.The text was updated successfully, but these errors were encountered: