compare length

Basic data handling: CompareLength

Compares the length of a container (string, list, etc) with a value. This node takes a container and a comparison value, and returns a boolean result based on the comparison of the container's length with the value.

Pack: Basic data handling

custom_nodes.ComfyUI-basic_data_handling

Inputs (3)

NameTypeRequired
container*required
operatorCOMBOrequired
lengthINTrequired

Outputs (2)

NameType
resultBOOLEAN
actual_lengthINT