ComfyUI Node
compare
Compares two dictionaries and reports differences. This node takes two dictionaries and compares them, returning information about their equality, any keys that exist in only one dictionary, and any keys with different values.
compare
- dict1
- dict2
- are_equal
- only_in_dict1
- only_in_dict2
- different_values
CategoryBasic/DICT
Inputs (2)
| Name | Type | Default | Description |
|---|---|---|---|
| dict1 | DICT | — | |
| dict2 | DICT | — |
Outputs (4)
| Name | Type | Description |
|---|---|---|
| are_equal | BOOLEAN | — |
| only_in_dict1 | LIST | — |
| only_in_dict2 | LIST | — |
| different_values | LIST | — |