This function checks if a file is a directory. Relative file paths are relative to the current working directory.
Gamma> is_dir("/home/robert/w/devel/lisp");
t
Gamma> is_dir("../../doc");
t
Gamma> is_dir("doc");
nil
Gamma>
See the Common: the Data Directory of the Controller Functions chapter (Tutorial Two) in the Cogent Tools Demo and Tutorials book for an example of this function used in context.