You're viewing archived documentation for @imqueue/rpc v2.1.0. APIs may differ from the current release. View the latest version ↗

fileExists() function

Checks if file exists at given path

Signature:

export declare function fileExists(path: string): Promise<unknown>;

Parameters

Parameter

Type

Description

path

string

{Promise}

Returns:

Promise<unknown>