Checks if a file or directory exists and is readable.
The path to the file or directory to check.
A promise that resolves to a boolean indicating if the target exists and is readable.
const filePath = "path/to/file";const exists = await exist(filePath); Copy
const filePath = "path/to/file";const exists = await exist(filePath);
Generated using TypeDoc
Checks if a file or directory exists and is readable.