hammerspoon2-docs
    Preparing search index...

    Function exists

    • Determine if a filesystem object exists at the given path Unlike isFile and isDirectory, this follows symlinks.

      Parameters

      • path: string

        Path to check. ~ is expanded.

      Returns boolean

      true if any filesystem entry (file, directory, symlink, etc.) exists at the path.