Skip to content

FileSystemAdapter.exists method

FileSystemAdapter › exists

Official

Checks if a file exists.

Signature:

exists(normalizedPath: string, sensitive?: boolean | undefined): Promise<boolean>

Parameters:

Parameter Type Description
normalizedPath string
sensitive? boolean | undefined *(Optional)*

Returns: Promise<boolean>