Nodes/Nifty Nodes for ComfyUI/None Input Switch (Eager)
ComfyUI Node

None Input Switch (Eager)

A ComfyUI node in nifty/logic with 3 inputs and 1 output.

By Stibo·Created 5 months ago·Updated 2 months ago· 7
None Input Switch (Eager)
  • on_exists
  • on_none
  • value
  • output
Categorynifty/logic

Inputs (3)

NameTypeDefaultDescription
on_existsoptCOMFY_MATCHTYPE_V3Value passed through when 'value' is not None. Both branches are always evaluated.
on_noneoptCOMFY_MATCHTYPE_V3Value passed through when 'value' is None. Both branches are always evaluated.
valueoptCOMFY_MATCHTYPE_V3The value to check. If it is None, on_none is used; otherwise on_exists.

Outputs (1)

NameTypeDescription
outputCOMFY_MATCHTYPE_V3