[F] getPathFromPathComponents
function getPathFromPathComponents(pathComponents): string;Formats a parsed path consisting of a root component (at index 0) and zero or more path segments (at indices > 0).
getPathFromPathComponents(["/", "path", "to", "file.ext"]) === "/path/to/file.ext"Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
pathComponents | readonly string[] |
Returns
Section titled “Returns”string