method IFileSystem.exists
IFileSystem.exists(path: string): Promise<boolean>

Check if a file exists

Parameters

path: string
  • The file path

Return Type

Promise<boolean>

Promise resolving to true if file exists

Usage

import { type IFileSystem } from ".";