Converts an integer into a boolean using a threshold. Outputs True if the input value is greater than or equal to threshold, otherwise False. With the default threshold of 1 this behaves like a classic "is this value truthy / 1 or above" check, but the threshold lets you gate on any cutoff you like.
This node does the following:
- Takes an integer value and an integer threshold.
- Compares them with value >= threshold.
- Returns the resulting boolean.
Parameters:
| Parameter | Type | Description |
| -------- | ---- | ----------- |
| value | INT | The input value to evaluate. |
| threshold | INT | The cutoff to compare against. If value is this number or higher, the node returns True; otherwise False. Defaults to 1. |
Outputs:
| Parameter | Type | Description |
| -------- | ---- | ----------- |
| boolean | BOOLEAN | True when value >= threshold, otherwise False. |
Notes:
- With threshold = 1, any value of 1 or above returns True and 0 (or negative values) return False.
- The comparison is inclusive: a value exactly equal to threshold returns True.