Skip to content

Commit

Permalink
Fix typos and missing operators. (#2743)
Browse files Browse the repository at this point in the history
  • Loading branch information
joezimjs authored and Julusian committed Feb 25, 2024
1 parent f1f3e42 commit 8567526
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions docs/4_secondary_admin_controls/expressions/operators.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
Supported operators include:

- Ternary operator:
- Conditional ternary: `a ? b : c`
- Binary operators:
- Addition: `a + b`
- Subtraction: `a - b`
Expand All @@ -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`
Expand All @@ -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`
Expand Down

0 comments on commit 8567526

Please sign in to comment.