• Returns true if a file or directory exists.

    Parameters

    • path: string

      Path to the directory or file.

    Returns Promise<boolean>

    True if it exists.