powered by
If file does not exist or is not a directory, FALSE is returned.
FALSE
isEmptyDirectory(...)
[logical].
logical
[character(1)] Directory names, all strings.
character(1)
print(isEmptyDirectory(tempdir())) print(isEmptyDirectory(tempfile()))
Run the code above in your browser using DataLab