Skip to content

FileSystemAdapter.exists method

FileSystemAdapter › exists

Official

Checks if a file exists.

Signature:

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

Parameters:

ParameterTypeDescription
normalizedPathstring
sensitive?boolean*(Optional)*

Returns: Promise<boolean>