The || (OR) operator is a boolean operator that evaluates to true if either of the conditions in an expression is true. The following table shows the result of the || (OR) operator:
| |
|
||
| True | || | True | True |
| True | || | False | True |
| False | || | True | True |
| False | || | False | False |
Like this article? Share it with others
If you like this article, please leave a comment or subscribe this blog via RSS or via e-mail, Bookmark and share through your network. Click the AddThis button below. Thanks.
If you like this article, please leave a comment or subscribe this blog via RSS or via e-mail, Bookmark and share through your network. Click the AddThis button below. Thanks.