Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/clone/deps.ts>fs.existsSync

A simple utility for the convenient clone
Latest
function fs.existsSync
Re-export
import { fs } from "https://deno.land/x/clone@v1.0.6/deps.ts";
const { existsSync } = fs;

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

Parameters

filePath: string

Returns

boolean