Skip to main content
Module

x/denon/deps.ts>existsSync

👀 Monitor any changes in your Deno application and automatically restart.
Very Popular
Latest
function existsSync
Re-export
Deprecated
Deprecated

Checking the state of a file before using it causes a race condition. Perform the actual operation directly instead.

import { existsSync } from "https://deno.land/x/denon@2.5.0/deps.ts";

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

Parameters

filePath: string

Returns

boolean