Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/fileserver/src/deps.ts>exists

A file-server command.
Latest
function exists
Re-export
import { exists } from "https://deno.land/x/fileserver@1.1.19/src/deps.ts";

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

Parameters

filePath: string

Returns

Promise<boolean>