From cced9ed790528307460022fc7ecf99736d2a4559 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Tue, 6 May 2025 11:59:30 -0700 Subject: [PATCH] work on manual --- rust/doc/src/language/expressions/operators.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/rust/doc/src/language/expressions/operators.md b/rust/doc/src/language/expressions/operators.md index 23e232abe1..f7e3d019e0 100644 --- a/rust/doc/src/language/expressions/operators.md +++ b/rust/doc/src/language/expressions/operators.md @@ -63,6 +63,20 @@ information. True if `A` is false. If the operand is missing, then the result is missing. +The overall truth table for the binary logical operators is: + +|`A`|`B`|`A AND B`|`A OR B`| +|-|-|-|-| +|false|false|false|false| +|false|true|false|true| +|true|false|false|true| +|true|true|true|true| +|false|missing|false|missing| +|true|missing|missing|true| +|missing|false|false|missing| +|missing|true|missing|true| +|missing|missing|missing|missing| + ## Relational Operators The relational operators take numeric or string operands and produce -- 2.30.2