Skip to content

Latest commit

 

History

History
30 lines (18 loc) · 786 Bytes

exists.md

File metadata and controls

30 lines (18 loc) · 786 Bytes

happy-opfsDocs


happy-opfs / exists

Function: exists()

function exists(path, options?): AsyncIOResult<boolean>

Checks whether a file or directory exists at the specified path.

Parameters

Parameter Type Description
path string The path of the file or directory to check for existence.
options? ExistsOptions Optional existence options.

Returns

AsyncIOResult<boolean>

A promise that resolves to an AsyncIOResult indicating whether the file or directory exists.

Defined in

fs/opfs_ext.ts:176