Skip to content

DataAdapterEx._exists method

DataAdapterEx › _exists

Unofficial

Check if a file exists.

Signature:

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

Parameters:

ParameterTypeDescription
fullPathstringfull path to the file.
sensitive?boolean | undefinedwhether to check case-sensitive.

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