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

x/sandbox/sandbox.ts>Sandbox#exists

🦕 Create a temporary sandbox directory which is removed when the instance is disposed
Go to Latest
method Sandbox.prototype.exists
import { Sandbox } from "https://deno.land/x/sandbox@v1.1.0/sandbox.ts";

Test whether or not the given path exists in a sandbox directory by checking with the file system

Parameters

filePath: string

Returns

Promise<boolean>