isdir
tests if a file is a directory
Calling Sequence
Parameters
Description
Examples
isdir(filename)
filename
-
name of the file to be checked
If filename is a directory, isdir returns true. If it is not a directory, isdir returns false.
If filename does not exist, isdir generates an error.
See file for information on file names.
Error, (in isdir) file or directory does not exist
See Also
file
FileTools[IsDirectory]
fopen
IO_errors
listdir
open
Download Help Document