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

x/bundler/deps.ts>fs.existsSync

A Bundler with the web in mind.
Go to Latest
function fs.existsSync
Re-export
import { fs } from "https://deno.land/x/bundler@0.6.2/deps.ts";
const { existsSync } = fs;

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

Parameters

filePath: string

Returns

boolean