NumberEquality
The value associated with the given (key) shall be equal to the specified (expected).
Parameter table
| param | unit | required | description |
|---|---|---|---|
| key | yes | The key of the value to check against the expected value. | |
| expected | yes | The expected value. |
How to setup
The rule verifies whether the number associated with the given (key) is equal to the expected number.
If the values are not equal, the rule will fail.
Examples
| value | valid | expected | description |
|---|---|---|---|
| 5 | ✅ | 5 | The number is equal to the expected value. |
| 10 | ❌ | 5 | The number is not equal to the expected value. |