in range

Basic data handling: NumberInRange

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.

Pack: Basic data handling

custom_nodes.ComfyUI-basic_data_handling

Inputs (5)

NameTypeRequired
valueFLOAT,INTrequired
min_valueFLOATrequired
max_valueFLOATrequired
include_minBOOLEANoptional
include_maxBOOLEANoptional

Outputs (1)

NameType
in_rangeBOOLEAN