isidentifier

Basic data handling: StringIsIdentifier

Checks if the string is a valid identifier in Python. This node returns True if the string is a valid Python identifier, otherwise False. A valid identifier must start with a letter or underscore and can only contain letters, digits, or underscores.

Pack: Basic data handling

custom_nodes.ComfyUI-basic_data_handling

Inputs (1)

NameTypeRequired
stringSTRINGrequired

Outputs (1)

NameType
BOOLEANBOOLEAN