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.
remove
- input_dict
- dict
- key_removed
◄key►
CategoryBasic/DICT
Inputs (2)
| Name | Type | Default | Description |
|---|---|---|---|
| input_dict | DICT | — | |
| key | STRING | — |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| dict | DICT | — |
| key_removed | BOOLEAN | — |