isEmptyDirectory {BBmisc}R Documentation

Is one / are several directories empty?

Description

If file does not exist or is not a directory, FALSE is returned.

Usage

isEmptyDirectory(...)

Arguments

...

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

Value

[logical].

Examples

print(isEmptyDirectory(tempdir()))
## [1] FALSE
print(isEmptyDirectory(tempfile()))
## [1] FALSE

[Package BBmisc version 1.7 Index]