Function Directory-Exists-P

Part of:

package cl-fad
( directory-exists-p < pathspec > )
Checks whether the file named by the pathname designator PATHSPEC
exists and if it is a directory. Returns its truename if this is the
case, NIL otherwise. The truename is returned in directory form as if
by PATHNAME-AS-DIRECTORY.