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

std/fs/exists.ts>ExistsOptions

Deno standard library
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
interface ExistsOptions
import { type ExistsOptions } from "https://deno.land/std@0.203.0/fs/exists.ts";

Properties

optional
isReadable: boolean = false

When true, will check if the path is readable by the user as well.

optional
isDirectory: boolean = false

When true, will check if the path is a directory as well. Directory symlinks are included.

optional
isFile: boolean = false

When true, will check if the path is a file as well. File symlinks are included.