Nodes/RisuTools/Check File Name Prefix Exists
ComfyUI Node

Check File Name Prefix Exists

Checks if any files with the given prefix exist in the directory Class methods ------------- INPUT_TYPES (dict): Tell the main program input parameters of nodes. Attributes ---------- RETURN_TYPES (`tuple`): The type of each element in the output tuple. RETURN_NAMES (`tuple`): The name of each output in the output tuple. FUNCTION (`str`): The name of the entry-point method. CATEGORY (`str`): The category the node should appear in the UI.

By tiamatiramisu·Created about a year ago·Updated about a year ago· 5
Check File Name Prefix Exists
    • exists
    directoryabsolute-path
    prefix
    CategoryRisuTools/File

    Inputs (2)

    NameTypeDefaultDescription
    directorySTRINGabsolute-path
    prefixoptSTRING

    Outputs (1)

    NameTypeDescription
    existsBOOLEAN