ExistsOptions

import { ExistsOptions } from "jsr:@ende/fs";

interface

interface ExistsOptions

Options for exists and existsSync.

Properties

isReadable

isReadable?: boolean

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

Default: false

isDirectory

isDirectory?: boolean

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

Default: false

isFile

isFile?: boolean

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

Default: false

Source