Skip to content

Commit 2332bc6

Browse files
authored
[Ruleset Engine] Update partial (#19962)
1 parent e118a7e commit 2332bc6

File tree

2 files changed

+7
-9
lines changed

2 files changed

+7
-9
lines changed

src/content/docs/ruleset-engine/rules-language/values.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ It is not possible to define your own arrays. You can only use arrays returned b
146146

147147
<Render
148148
file="rules-language-missing-value-behavior"
149-
params={{ one: "an out-of-bounds array index" }}
149+
params={{ errorDescription: "an out-of-bounds array index" }}
150150
/>
151151

152152
You can only use `[*]` multiple times in the same expression if applied to the same array. Also, you can only use `[*]` in the first argument of a function call.
@@ -217,7 +217,7 @@ It is not possible to define your own maps. You can only use maps returned by fi
217217

218218
<Render
219219
file="rules-language-missing-value-behavior"
220-
params={{ one: "a non-existing key in a map" }}
220+
params={{ errorDescription: "a non-existing key in a map" }}
221221
/>
222222

223223
## Lists
Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
11
---
2-
inputParameters: errorDescription
3-
2+
params:
3+
- errorDescription
44
---
55

6-
import { Markdown } from "~/components"
7-
8-
Accessing {props.one} produces a "missing value". A missing value has the following behavior:
6+
Accessing {props.errorDescription} produces a "missing value". A missing value has the following behavior:
97

10-
* Any comparison `<expr> <op> <literal>` where `<expr>` evaluates to a missing value will evaluate to false.
11-
* Function calls like `function(<expr>)`, where `<expr>` evaluates to a missing value, will return a missing value in most cases, but the exact behavior can vary per function.
8+
- Any comparison `<expr> <op> <literal>` where `<expr>` evaluates to a missing value will evaluate to false.
9+
- Function calls like `function(<expr>)`, where `<expr>` evaluates to a missing value, will return a missing value in most cases, but the exact behavior can vary per function.

0 commit comments

Comments
 (0)