• Check whether a path is a directory.

    Parameters

    • path: string

      Path to check.

    Returns Promise<boolean>

    True if the path is a directory, false otherwise.