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

x/rad/src/3p/std.ts>fs.exists

general purpose build tool. statically typed, batteries included. command, function, and make-style tasks supported. improved npm scripts for deno.
Latest
function fs.exists
Re-export
import { fs } from "https://deno.land/x/rad@v6.11.0/src/3p/std.ts";
const { exists } = fs;

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

Parameters

filePath: string

Returns

Promise<boolean>