ComfyUI Node

isidentifier

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.

By StableLlama·Created about a year ago·Updated 25 days ago· 45
isidentifier
    • BOOLEAN
    string
    CategoryBasic/STRING/is

    Inputs (1)

    NameTypeDefaultDescription
    stringSTRING

    Outputs (1)

    NameTypeDescription
    BOOLEANBOOLEAN