hammerspoon2-docs
    Preparing search index...

    Function isFile

    • Determine if a file exists at the given path This does not follow symlinks; a symlink pointing at a file returns false.

      Parameters

      • path: string

        Path to check. ~ is expanded.

      Returns boolean

      true if a regular file (not a directory or symlink) exists at the path.