isDirectory: Checks if the file specification is a directory
Description
Checks if the file specification is a directory.Usage
## S3 method for class 'default':
isDirectory(pathname, ...)
Arguments
pathname
A character string of the pathname to be checked. Value
- Returns TRUEif the file specification is a directory, otherwiseFALSEis returned.
See Also
To check if it is a file see isFile().
   Internally file.info() is used.