Tests for the presence of a directory.
lispworks
file-directory-p pathname => bool
pathname
A pathname, string, or file-stream.
bool
If t , the pathname represented by pathname exists and is a directory. If nil , it either does not exist, or it is not a directory.
t
nil
file-directory-p tests whether the pathname represents a directory.
file-directory-p
CL-USER 70 > (file-directory-p "~")
T
CL-USER 71 > (file-directory-p ".login")
NIL