Next Prev Up Top Contents Index

file-directory-p

Function
Summary

Tests for the presence of a directory.

Package

lispworks

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 - 13 Jun 2003

Next Prev Up Top Contents Index