ComfyUI Node
pop item
Removes and returns an arbitrary key-value pair from a dictionary. This node takes a dictionary as input, removes an arbitrary key-value pair, and returns the modified dictionary along with the removed key and value. If operation fails, no error is thrown, but the last argument is `False`, and the dictionary is returned intact.
pop item
- input_dict
- dict
- key
- value
- success
CategoryBasic/DICT
Inputs (1)
| Name | Type | Default | Description |
|---|---|---|---|
| input_dict | DICT | — |
Outputs (4)
| Name | Type | Description |
|---|---|---|
| dict | DICT | — |
| key | STRING | — |
| value | * | — |
| success | BOOLEAN | — |