ComfyUI Node
◯ANY → Dict🗂️
Add/update any-type item to a Dict.
◯ANY → Dict🗂️
- dict
- value
- dict
◄key—►
◄cleanup_keytrue►
Category🗂️ Dict Tools/Add
Inputs (4)
| Name | Type | Default | Description |
|---|---|---|---|
| key | STRING | Key (name) of the item inserted into the dict. | |
| cleanup_key | BOOLEAN | true | Automatically remove leading/trailing spaces and extra newlines from the key. |
| dictopt | DICT | An (optional) Dictionary to work with. | |
| valueopt | * | The actual any-type item to add into the Dict. |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| dict | DICT | — |