• Return an ancestor directory of the given path.

    Returns

    The ancestor directory.

    If the path provided is a root path (e.g., C: on Windows or / on *NIX), then null is returned.

    Returns DOMString | null

Generated using TypeDoc