Skip to content

DataAdapterEx._exists method

DataAdapterEx › _exists

Unofficial

Check if a file exists.

Signature:

_exists(fullPath: string, sensitive?: boolean | undefined): Promise<boolean>

Parameters:

Parameter Type Description
fullPath string full path to the file.
sensitive? boolean | undefined whether to check case-sensitive.

Returns: Promise<boolean>A promise that resolves to true if the file exists, false otherwise.