Comparison
Equality, ordering, null checks, range testing, and type checking nodes.
Comparison nodes evaluate relationships between values and output booleans. They are the primary way to produce conditions for Branch, Filter Guard, and While nodes.
All Comparison nodes are pure (blue header, no execution pins).
Equal
Check if two values are equal.
| Pin | Direction | Type | Description |
|---|---|---|---|
| A | Input | Any | First value |
| B | Input | Any | Second value |
| Result | Output | Boolean | True if A equals B |
Pure. Use Equal to compare strings, numbers, or any two values for equality.
Not Equal
Check if two values are not equal.
| Pin | Direction | Type | Description |
|---|---|---|---|
| A | Input | Any | First value |
| B | Input | Any | Second value |
| Result | Output | Boolean | True if A does not equal B |
Pure. Use Not Equal to detect changes — a field that differs from its expected value.
Greater Than
Check if A is greater than B.
| Pin | Direction | Type | Description |
|---|---|---|---|
| A | Input | Float | First value |
| B | Input | Float | Second value |
| Result | Output | Boolean | True if A is greater than B |
Pure. Use Greater Than for threshold checks — severity scores, response times, or error counts.
Less Than
Check if A is less than B.
| Pin | Direction | Type | Description |
|---|---|---|---|
| A | Input | Float | First value |
| B | Input | Float | Second value |
| Result | Output | Boolean | True if A is less than B |
Pure. Use Less Than for lower-bound checks — remaining quota, time until expiry.
Greater or Equal
Check if A is greater than or equal to B.
| Pin | Direction | Type | Description |
|---|---|---|---|
| A | Input | Float | First value |
| B | Input | Float | Second value |
| Result | Output | Boolean | True if A is greater than or equal to B |
Pure. Use Greater or Equal for inclusive threshold checks.
Less or Equal
Check if A is less than or equal to B.
| Pin | Direction | Type | Description |
|---|---|---|---|
| A | Input | Float | First value |
| B | Input | Float | Second value |
| Result | Output | Boolean | True if A is less than or equal to B |
Pure. Use Less or Equal for inclusive upper-bound checks.
Is Null
Check if a value is null.
| Pin | Direction | Type | Description |
|---|---|---|---|
| Value | Input | Any | The value to check |
| Result | Output | Boolean | True if Value is null |
Pure. Use Is Null to guard against missing data before accessing properties or performing operations.
Is Empty
Check if a value is empty. Returns true for empty strings, empty arrays, or null values.
| Pin | Direction | Type | Description |
|---|---|---|---|
| Value | Input | Any | The value to check |
| Result | Output | Boolean | True if Value is empty, null, or a zero-length collection |
Pure. Use Is Empty to validate inputs before processing — skip empty responses or missing fields.
In Range
Check if a value falls within a numeric range (inclusive).
| Pin | Direction | Type | Description |
|---|---|---|---|
| Value | Input | Float | The value to check |
| Min | Input | Float | Lower bound |
| Max | Input | Float | Upper bound |
| Result | Output | Boolean | True if Value is between Min and Max (inclusive) |
Pure. Use In Range to test whether a value is within acceptable bounds — valid port numbers, HTTP status code ranges.
Type Is
Check the runtime type of a value.
| Pin | Direction | Type | Description |
|---|---|---|---|
| Value | Input | Any | The value to check |
| Type | Input | String | Expected type name (e.g., "string", "integer", "object") |
| Result | Output | Boolean | True if Value matches the specified type |
Pure. Use Type Is to validate dynamic data before performing type-specific operations.
Related categories
- Logical — combine comparison results with AND, OR, NOT
- Flow Control — use comparison results with Branch, Filter Guard, While
- String — string-specific comparisons like Contains, Starts With, Regex Test