Skip to main content
Module

x/dev_server/deps.ts>fs.exists

Feel free to import TypeScript files in the script tag!
Latest
function fs.exists
Re-export
import { fs } from "https://deno.land/x/dev_server@v1.0.0-rc4/deps.ts";
const { exists } = fs;

Test whether or not the given path exists by checking with the file system

Parameters

filePath: string

Returns

Promise<boolean>