isDirectory {BBmisc}R Documentation

Is one / are several files a directory?

Description

If a file does not exist, FALSE is returned.

Usage

isDirectory(...)

Arguments

...

[character(1)]
File names, all strings.

Value

[logical].

Examples

print(isDirectory(tempdir()))
## [1] TRUE
print(isDirectory(tempfile()))
## [1] FALSE

[Package BBmisc version 1.7 Index]