Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/actionify/src/deps/fs.ts>existsSync

Create and manage your GitHub workflows with TypeScript and Deno.
Latest
function existsSync
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/actionify@0.3.0/src/deps/fs.ts";

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

Parameters

filePath: string

Returns

boolean