Home > @wixc3/fs-utils > pathChainToRoot
Signature:
export declare function pathChainToRoot(currentPath: string): Generator<string, void, unknown>;
Parameter | Type | Description |
---|---|---|
currentPath | string | absolute path to yield parent directory path from |
Returns:
Generator<string, void, unknown>