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.

By StableLlama·Created about a year ago·Updated 25 days ago· 45
in range
  • value
  • in_range
min_value0.00
max_value100.00
include_minTrue
include_maxTrue
CategoryBasic/comparison

Inputs (5)

NameTypeDefaultDescription
valueFLOAT,INT
min_valueFLOAT0.00
max_valueFLOAT100.00
include_minoptBOOLEANTrue
include_maxoptBOOLEANTrue

Outputs (1)

NameTypeDescription
in_rangeBOOLEAN