Nodes/DD-LogicNodes/DD NOR Getter
ComfyUI Node

DD NOR Getter

The \"take the good path when nothing's true\" router

By dumbdemon·Created 6 months ago·Updated a day ago· 0
DD NOR Getter
  • on_true
  • on_false
  • *
expression1false
expression2false

The NOR Getter is what you use when "neither condition is true" is the good outcome. Its sibling gate just tells you that as a boolean; this one takes the same check and hands you whichever value you picked for the result - with the lazy-evaluation bonus that the branch you don't pick never runs.

The layout is the standard getter shape: on_true and on_false (MatchType - images, latents, text, whatever you plug in), plus two booleans, expression1 and expression2, and one * output. The rule: when both expressions are false, you get on_true. Any other combination - one true, or both true - gives you on_false. Both expressions default to false, so a fresh node routes to on_true by default.

A real use

Frame it as "default path, unless something says otherwise." You have two detector booleans - "subject detected" and "background detected." When both come back false, it's an empty scene and you want the clean-path result; wire that into on_true. If either detector found something, you want the full-processing result; wire that into on_false. Because on_true and on_false are lazy, the losing side of that branch doesn't execute - a genuine win when one side is an expensive sampler chain.

How it differs from the other getters

The naming is the friction point. Every getter in this pack has on_true and on_false, but which condition feeds which input flips around depending on the gate:

  • And Getter: both true → on_true.
  • Nand Getter: both true → on_false (everything else is the default).
  • Nor Getter: both false → on_true - the mirror image.

If you're mixing several of these in one workflow, that's where mistakes creep in. Read the condition out loud before wiring: "both false → good path." If that's what you want, this is the node.

Installing

The shared DD-LogicNodes install: ComfyUI Manager → search DD-LogicNodes → Install → restart, or git clone https://github.com/dumbdemon/DD_LogicNodes into ComfyUI/custom_nodes. No dependencies, no models. Just keep ComfyUI current - the pack is built on the newer extension API, and on older builds you'll be hunting for a node that isn't in the menu.

CategoryDD Logic Nodes/Getters

Inputs (4)

NameTypeDefaultDescription
on_trueCOMFY_MATCHTYPE_V3
on_falseCOMFY_MATCHTYPE_V3
expression1BOOLEANfalse
expression2BOOLEANfalse

Outputs (1)

NameTypeDescription
*COMFY_MATCHTYPE_V3