Skip to main content

Variable Match

Variable Match

Tests if a variable matches the given value.

Supports both String Operations and Math Operations to compare the variable against the input.

Variable​

The name of the variable to compare against.
Use the plain name such as MyVariable or movie.Title.
Dot notation is supported for nested properties (e.g. movie.Year).

Value​

The value to compare the variable against.
The syntax you use determines whether it's treated as a string or math operation:

  • Math examples:
    • >123 – greater than 123
    • <100 – less than 100
    • =456 or just 456 – equal to 456
  • String examples:
    • abc – exact match
    • *abc* – contains abc
    • abc* – starts with abc
    • *abc – ends with abc

For full details, see the String Operations and Math Operations documentation.

Outputs​

  1. Input matched variable – The variable matched the given value.
  2. Input did not match variable – The variable did not match the value.

Example​

To check if the variable movie.Year is greater than 2000:

  • Variable: movie.Year
  • Value: >2000

This will output to Input matched variable if the year is greater than 2000.