Compare

Compare two values of the same type.

Compares two values of the same type with an operator and returns a boolean.

Inputs

  • ArequiredT. Supplies the left-hand value that the node compares against the right-hand value. The node reads it together with b and evaluates both values using the selected operator.
  • BrequiredT. Supplies the right-hand value that the node compares against the left-hand value. The node uses it with a to produce the boolean comparison result.

Outputs

  • ResultBoolean. Represents whether the two inputs satisfy the configured comparison. Equality and inequality return a structural match result, while greater-than and less-than perform ordered scalar comparison.

Configuration

  • OperatorSelect (Equals, Not Equals, Greater Than, Less Than). Chooses how the node compares a and b. Equals and Not Equals test structural equality after normalizing values, Greater Than and Less Than require comparable scalar values, nulls are only allowed for equality checks, and mismatched runtime shapes fail the run.

Example use cases

Equality check

Compare a ticket’s state to a target state and branch on the boolean result.

See also