Skip to content

Commit 3a7c7fc

Browse files
kaveetAdnan Ahmed
authored andcommitted
Clarify description of OR operator (Idnan#35)
The current description of the OR operator ("one of the statements is true") implies that only one of the statements in the expression can be true, as in an XOR. Adding "at least" to clarify.
1 parent e073123 commit 3a7c7fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1010,7 +1010,7 @@ Expression Examples:
10101010
10111011
```bash
10121012
statement1 && statement2 # both statements are true
1013-
statement1 || statement2 # one of the statement is true
1013+
statement1 || statement2 # at least one of the statements is true
10141014
10151015
str1=str2 # str1 matches str2
10161016
str1!=str2 # str1 does not match str2

0 commit comments

Comments
 (0)