Function: isDirectory()
isDirectory(
path):Promise<boolean>
Checks if the given path is a directory.
Parameters
path
string
The path to check.
Returns
Promise<boolean>
A promise that resolves to true if the path is a directory, false otherwise.
