Determines if a given file in a directory is a directory itself.
The directory path containing the file.
The name of the file.
true if the file is a directory, false otherwise.
true
false
isDirectory('/path/to/directory', 'subdirectory') // returns true Copy
isDirectory('/path/to/directory', 'subdirectory') // returns true
Determines if a given file in a directory is a directory itself.