hammerspoon2-docs
    Preparing search index...

    Function isDirectory

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

      Parameters

      • path: string

        Path to check. ~ is expanded.

      Returns boolean

      true if a directory exists at the path.