Open
Description
In mdn/yari, we use the following code to check to see if a file path is a directory:
if ((await fs.stat(<path>)).isDirectory()) {
// ...
}
It would be awesome for fs-extra
to have a shortcut:
if (await fse.isDir(<path>)) {
// ...
}