ComfyUI Node

length

Returns the number of key-value pairs in a dictionary. This node takes a dictionary as input and returns its length (number of items).

By StableLlama·Created about a year ago·Updated 25 days ago· 45
length
  • input_dict
  • length
CategoryBasic/DICT

Inputs (1)

NameTypeDefaultDescription
input_dictDICT

Outputs (1)

NameTypeDescription
lengthINT