Skip to content

Int Condition

Evaluates a boolean condition between two integers using a selected comparison operation. Supports equality, inequality, and relational checks. Returns a single boolean indicating the result.
Preview

Usage

Use this node to branch logic or control flow based on integer comparisons, such as validating counters, indices, or thresholds. Typically placed before conditional selectors or loop controllers to determine the next step based on numeric state.

Inputs

FieldRequiredTypeDescriptionExample
aTrueINTLeft-hand integer operand for the comparison.5
bTrueINTRight-hand integer operand for the comparison.10
operationTrueENUMComparison to apply between a and b. Options: ==, !=, <, >, <=, >=.>=

Outputs

FieldTypeDescriptionExample
resultBOOLEANThe boolean result of the selected comparison between a and b.True

Important Notes

  • Inputs a and b accept very large integers (up to 64-bit limits).
  • If an unknown operation is provided, the node returns false.
  • On any internal error, the node safely returns false.

Troubleshooting

  • Result is always false: Ensure the operation is one of ==, !=, <, >, <=, >=.
  • Unexpected false for large numbers: Verify a and b are within valid integer ranges and correctly set.
  • Used for loop conditions but loop never progresses: Double-check the comparison direction (e.g., use > instead of >=) and the values feeding into a and b.