ComfyUI Node
None Input Switch
A ComfyUI node in nifty/logic with 3 inputs and 1 output.
None Input Switch
- on_exists
- on_none
- value
- output
Categorynifty/logic
Inputs (3)
| Name | Type | Default | Description |
|---|---|---|---|
| on_existsopt | COMFY_MATCHTYPE_V3 | Value passed through when 'value' is not None. Only evaluated if selected (lazy). | |
| on_noneopt | COMFY_MATCHTYPE_V3 | Value passed through when 'value' is None. Only evaluated if selected (lazy). | |
| valueopt | * | The value to check. If it is None, on_none is used; otherwise on_exists. |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| output | COMFY_MATCHTYPE_V3 | — |