IS_DIR

true if the file is a directory.