Skip to content

CapacitorAdapter.exists method

CapacitorAdapter › 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>

Since: 1.7.2