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.

    Returns

    whether it exists

    Parameters

    • path: string

      file or directory path

    Returns Promise<boolean>

Generated using TypeDoc