From 856752603abd2a9d25dc3cb0e76524381486794f Mon Sep 17 00:00:00 2001 From: Joe Zimmerman Date: Sat, 17 Feb 2024 08:08:21 -0600 Subject: [PATCH] Fix typos and missing operators. (#2743) --- docs/4_secondary_admin_controls/expressions/operators.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/4_secondary_admin_controls/expressions/operators.md b/docs/4_secondary_admin_controls/expressions/operators.md index ef3635ffa3..881367e16b 100644 --- a/docs/4_secondary_admin_controls/expressions/operators.md +++ b/docs/4_secondary_admin_controls/expressions/operators.md @@ -1,5 +1,7 @@ Supported operators include: +- Ternary operator: + - Conditional ternary: `a ? b : c` - Binary operators: - Addition: `a + b` - Subtraction: `a - b` @@ -9,7 +11,7 @@ Supported operators include: - Equality (loose): `a == b` - Equality (strict): `a === b` - Inequality (loose): `a != b` - - Inequality (stirct): `a !== b` + - Inequality (strict): `a !== b` - Greater than: `a > b` - Greater than or equal: `a >= b` - Less than: `a < b` @@ -22,7 +24,7 @@ Supported operators include: - Bitwise AND: `a & b` - Bitwise OR: `a | b` - Unary operators: - - Unary Negataion: `-a` + - Unary Negation: `-a` - Convert to number: `+a` - Logical NOT: `!a` - Bitwise NOT: `~a`