Function exists

  • Check if file or directory exists.

    Parameters

    • path: string

      file or directory path

    • fn: ExistsCallback

      callback (err, exists)

    Returns void

  • Check if file or directory exists.

    Parameters

    • path: string

      file or directory path

    Returns Promise<boolean>

    whether it exists

Generated using TypeDoc