file-directory-p
Summary
Tests for the presence of a directory.
Signature
file-directory-p
pathname
=>
bool
Arguments
pathname
A pathname, string, or file-stream.
Values
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.
Description
file-directory-p
tests whether the pathname represents a directory.
Examples
CL-USER 70 > (file-directory-p "~")
T
CL-USER 71 > (file-directory-p ".login")
NIL
LispWorks Reference Manual - 6 Apr 2005