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

std/fs/mod.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.218.0/fs/mod.ts";

Options for exists and existsSync.

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.