Function: f-dir?

f-dir? is a function alias for file-directory-p, defined in fileio.c.

Signature

(f-dir? FILENAME)

Documentation

Return t if FILENAME names an existing directory.

Return nil if FILENAME does not name a directory, or if there was trouble determining whether FILENAME is a directory.

As a special case, this function will also return t if FILENAME is the empty string (""). This quirk is due to Emacs interpreting the empty string (in some cases) as the current directory.

Symbolic links to directories count as directories. See file-symlink-p to distinguish symlinks.

Aliases

f-dir-p f-directory? f-directory-p f-dir?