ComfyUI Node

remove

Removes a key-value pair from a dictionary. This node takes a dictionary and a key as inputs, then returns a new dictionary with the specified key removed. If the key doesn't exist, the dictionary remains unchanged.

By StableLlama·Created about a year ago·Updated 25 days ago· 45
remove
  • input_dict
  • dict
  • key_removed
key
CategoryBasic/DICT

Inputs (2)

NameTypeDefaultDescription
input_dictDICT
keySTRING

Outputs (2)

NameTypeDescription
dictDICT
key_removedBOOLEAN