EasyUse/Logicgenerated
Is None(isNone)
The Is None node checks whether a value connected to its any input is None.
is None
any
boolean
Easy Use
Description
The Is None node checks whether a value connected to its any input is None. It is a simple logic utility: if the incoming value is None (null / nothing), it outputs True; otherwise it outputs False.
It belongs to the EasyUse/Logic category and is useful for data-flow branching, enabling or disabling parts of a workflow based on whether an optional value was provided.
Inputs
- any (
ANYTYPE, required): A value of any type. The node accepts any ComfyUI data type – models, latents, conditioning, images, strings, numbers, or custom objects – and tests whether that value isNone.
Outputs
- BOOLEAN: A boolean value.
Trueif the input isNone;Falseif the input is any other value.
Usage Notes
- Use this node to detect missing upstream data, e.g. an optional model, conditioning, or image that was not provided.
- It can be combined with boolean routing or switch logic in a workflow to handle missing inputs gracefully.
- Because the input accepts
ANYTYPE, there is no need to convert or format the value before connecting it. - The output is a standard ComfyUI boolean, so it can be passed to other nodes that expect a
BOOLEANinput.
Comments
Sign in with GitHub to join the discussion.