isDirectoryAsync
isDirectoryAsync(
path):Promise<boolean>
Defined in: packages/node/src/fs/is-directory-async.ts:11
Tests whether path exists and is a directory. An unreadable or missing path
is false, never a throw — the caller asked a question, not for the reason
behind the answer.
Parameters
Section titled “Parameters”PathLike
The path to check.
Returns
Section titled “Returns”Promise<boolean>
True when path resolves to a directory.