Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "fs/exists/docs/types/index.d"

Index

Interfaces

Type aliases

Variables

Type aliases

Binary

Binary: (err: Error | null, bool: boolean) => void

Callback invoked after testing for path existence.

param

error argument

param

boolean indicating whether a path exists

Type declaration

    • (err: Error | null, bool: boolean): void
    • Parameters

      • err: Error | null
      • bool: boolean

      Returns void

Callback

Callback: Unary | Binary

Callback invoked after testing for path existence.

param

error argument

param

boolean indicating whether a path exists

Unary

Unary: (bool: boolean) => void

Callback invoked after testing for path existence.

param

boolean indicating whether a path exists

Type declaration

    • (bool: boolean): void
    • Parameters

      • bool: boolean

      Returns void

Variables

Export assignment exists

exists: Exists

Tests whether a path exists on the filesystem.

param

path to test

param

callback to invoke after testing path existence