Skip to content

Commit 2cee48a

Browse files
authored
Merge pull request #418 from quyenducngo/patch-3
Update leo operators language for nor and or
2 parents dca3eef + 4861c89 commit 2cee48a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

documentation/leo/04_operators.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -810,7 +810,7 @@ let a: bool = false.nor(false); // true
810810

811811
#### Description
812812

813-
Returns true when neither `first` nor `second` is true, storing the result in `destination`.
813+
Calculates the negated (inclusive) disjunction of `first` and `second`, storing the result in `destination`. The result is `true` if and only if both `first` and `second` are `false`.
814814

815815
#### Supported Type
816816

@@ -859,7 +859,7 @@ let b: bool = false.or(false); // false
859859

860860
#### Description
861861

862-
Performs an OR operation on integer (bitwise) or boolean `first` and `second`, storing the result in `destination`.
862+
Performs an inclusive OR operation on integer (bitwise) or boolean `first` and `second`, storing the result in `destination`.
863863

864864
#### Supported Types
865865

0 commit comments

Comments
 (0)