Contents |
|
Comparisons | Conditions |
Boolean comparisons are used to compare two boolean (true/false) values. To test if they are both true or if just one of them is true.
&& • And. Both the first and the second values are true. |
|| • Or. The first or the second value is true. |
! • Swap a boolean value between true and false. |
Comparisons | Conditions |