From 7f96940041f69c26da093466efd4e0fa9a0ea0be Mon Sep 17 00:00:00 2001 From: Matthew Nibecker Date: Mon, 25 Sep 2023 13:58:21 -0700 Subject: [PATCH] Update docs/language/expressions.md Co-authored-by: Noah Treuhaft --- docs/language/expressions.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/language/expressions.md b/docs/language/expressions.md index 1e2a0d074d..6e4c563f69 100644 --- a/docs/language/expressions.md +++ b/docs/language/expressions.md @@ -90,7 +90,7 @@ produces ## Logic -The keywords `and`, `or`, and `not` or `!` perform logic on operands of type `bool`. +The keywords `and`, `or`, `not`, and `!` perform logic on operands of type `bool`. The binary operators `and` and `or` operate on Boolean values and result in an error value if either operand is not a Boolean. Likewise, `not` (and its equivalent `!`) operates on its unary operand and results in an error if its