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

x/actionify/config/deps.ts>exists

Create and manage your GitHub workflows with TypeScript and Deno.
Go to Latest
function exists
Deprecated
Deprecated

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

import { exists } from "https://deno.land/x/actionify@0.2.0/config/deps.ts";

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

Parameters

filePath: string

Returns

Promise<boolean>