ComfyUI Node
in range
Checks if a number is within a specified range. This node takes a number and range bounds, and returns True if the number is within the specified range, and False otherwise. The user can specify whether the bounds are inclusive or exclusive.
in range
- value
- in_range
◄min_value0.00►
◄max_value100.00►
◄include_minTrue►
◄include_maxTrue►
CategoryBasic/comparison
Inputs (5)
| Name | Type | Default | Description |
|---|---|---|---|
| value | FLOAT,INT | — | |
| min_value | FLOAT | 0.00 | — |
| max_value | FLOAT | 100.00 | — |
| include_minopt | BOOLEAN | True | — |
| include_maxopt | BOOLEAN | True | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| in_range | BOOLEAN | — |