Path.withSegments() method
pathlib-ts > Path > withSegments
Path.withSegments() method
Section titled “Path.withSegments() method”Signature:
withSegments<T extends PurePath>(this: T, ...segments: Array<PathLike>): T;Parameters
Section titled “Parameters”|
Parameter |
Type |
Description |
|---|---|---|
|
this |
T | |
|
segments |
Array<PathLike> |
Returns:
T