9496 Lynk's site for housing knowledge and information for the team.
booleans
are variables than can only store true
or false
&&
is AND, only when both values are true is &&
true||
is OR, when either value is true ||
is true!
is NOT, !
changes true to false, or false to trueA | B | A&&B |
---|---|---|
False | False | False |
True | False | False |
False | True | False |
True | True | True |
A | B | A⎮⎮B |
---|---|---|
False | False | False |
True | False | True |
False | True | True |
True | True | True |
A | !A |
---|---|
False | True |
True | False |
TODO