Skip to main content

fs.exists

@listenai/lisa_core / Exports / fs / exists

Namespace: exists

fs.exists

Table of contents#

Functions#

Functions#

__promisify__#

promisify(path): Promise<boolean>

Parameters#

NameTypeDescription
pathPathLikeA path to a file or directory. If a URL is provided, it must use the file: protocol. URL support is experimental.

Returns#

Promise<boolean>

Defined in#

node_modules/@types/node/fs.d.ts:1854

  • 没帮助 0