Is Not Null (Text)
Read this before you wire it in
- BOOLEAN
Let's skip straight to the problem: SL_IsNotNullText checks whether a text input is None, and its text input has a default value of "" - an empty string. In Python, "" is not None. So unless something upstream deliberately passes a literal None object, this node's output is always True. Always. In a normal ComfyUI graph - where a text port either gets wired with a string or falls back to its default - there is no way to make it return False.
That's not me being harsh about the pack; it's just the arithmetic of the design. The author's intent is clear: this is a null-check for nullable chains, the text equivalent of SL_IsNotNullImage. But ComfyUI's required-input system means a STRING with a default is never null, and even a wired STRING is never None. The only scenario where this node does real work is inside a wildcard (*) chain where an upstream node can genuinely pass a None object through - and that's rare enough that most users will never see it fire.
Inputs and outputs:
text(STRING) - the string to check, default""- Output:
BOOLEAN-Trueunless the input is literallyNone.
Installing it
Part of ComfyUI-SimpleLogics. Manager → search "SimpleLogics" → install → restart. Manual:
cd ComfyUI/custom_nodes
git clone https://github.com/danipisca07/ComfyUI-SimpleLogics
Restart, Add Node → search "Is Not Null (Text)" (menu group SimpleLogics/Logic). No dependencies, no models.
What to do instead
If your real goal is "is this text field empty?" - which is the question beginners usually mean - this node won't answer it, because an empty string still counts as not-null. You want a comparison instead: SL_CompareInt-style logic on string length, or an "is empty string" check from a utility pack that actually compares against "". That's a real, answerable question; "is it None" is the question ComfyUI mostly won't let you ask.
Bottom line: it's a two-line node (text is not None) that exists to support a nullable-input pattern ComfyUI's type system rarely exposes. Wire it only from a wildcard source that can truly deliver None. Otherwise, it's a permanent True sitting in your graph - harmless, but also pointless.
Inputs (1)
| Name | Type | Default | Description |
|---|---|---|---|
| text | STRING | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| BOOLEAN | BOOLEAN | — |