ComfyUI Node

contains key

Checks if a key exists in a dictionary. This node takes a dictionary and a key as inputs, then returns True if the key exists in the dictionary, and False otherwise.

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

Inputs (2)

NameTypeDefaultDescription
input_dictDICT
keySTRING

Outputs (1)

NameTypeDescription
BOOLEANBOOLEAN