remove

Basic data handling: DictRemove

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.

Pack: Basic data handling

custom_nodes.ComfyUI-basic_data_handling

Inputs (2)

NameTypeRequired
input_dictDICTrequired
keySTRINGrequired

Outputs (2)

NameType
dictDICT
key_removedBOOLEAN