Equals

Comparison Pure Generic
Equals
A
Result
B

Description

Pure function returning true if two values of any type are equal. Generic on both operands; type is fixed at design-time when connected.

When to use

Use Equals whenever you need to compare two values of the same type for equality. Because it is a pure node it has no execution pins — it evaluates lazily when its output is needed by a downstream node such as Branch. Connect the result directly to a Branch condition input to route execution based on the comparison. The generic type resolves to string, integer, decimal, or boolean the moment you draw the first connection.

Pins

Input pins

Pin Type Default Notes
A generic The type locks to the first connection made to either operand.
B generic Must be the same type as a once the generic is resolved.

Output pins

Pin Type Notes
Result boolean True if a and b are equal; false otherwise.

Example

Route execution based on whether the HTTP request method is POST. Wire the Method output of Receive HTTP into the A input of Equals and type "POST" as the literal B value. Feed the Result output into the Condition input of Branch — Equals has no execution pins so no additional wiring is needed. The True output proceeds to parsing and the False output routes to Fail.

See also