Skip to main content

NumberEquality

The value associated with the given (key) shall be equal to the specified (expected).

Parameter table

paramunitrequireddescription
keyyesThe key of the value to check against the expected value.
expectedyesThe 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

valuevalidexpecteddescription
55The number is equal to the expected value.
105The number is not equal to the expected value.