Skip to content

Latest commit

 

History

History
33 lines (23 loc) · 1.51 KB

condition.equals.md

File metadata and controls

33 lines (23 loc) · 1.51 KB

condition.equals

Checks whether the original value is equal to the specified value. If it matches, it returns true, otherwise it returns false.

When substituting values, you can refer to data.* or another element using $ref. You can also use helpers and conditions to get the value.

View example in the sandbox

Component properties {#properties}

#| || Name | Type | Description || || type* | "condition.equals" | Set component type. || || data | any | Original value. If not specified, it uses the value returned by the parent component (the component that contains condition.equals).

How to pass a value:

  • Specify the value itself, like the number 42 or a string.
  • Get the value from your data.
  • Refer to another element using $ref.
  • Use helpers and conditions to get the value. || || hint | string | Validation error message that a Toloker will see. || || to* | any | The value to compare with the original.

How to pass a value:

{% include contact-support %}