@shopify/cli-kit
    Preparing search index...

    Function fileExists

    • Returns true if a file or directory exists.

      Parameters

      • path: string

        Path to the directory or file.

      Returns Promise<boolean>

      True if it exists.