Skip to content

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.

PathLike

The path to check.

Promise<boolean>

True when path resolves to a directory.