Checks if the file specification is a file.

# Default S3 method
isFile(pathname, ...)

Arguments

pathname

A character string of the pathname to be checked.

...

Not used.

Value

Returns TRUE if the file specification is a file, otherwise FALSE is returned.

Author

Henrik Bengtsson

See also

To check if it is a directory see isDirectory(). Internally file.info() is used. See also file_test.