Skip to content

eq ​

Checks that the value is equal to the given one. Values are compared as strings, and the output is the value from the rule.

Error codes: NOT_ALLOWED_VALUE, FORMAT_ERROR

Live example · edit rules or inputOpen in playground
rules
input
Invaliderrors
{
  "first_name": "NOT_ALLOWED_VALUE"
}

See Types coercing for how values are compared.