[F] reducePathComponents
function reducePathComponents(components): string[];
Reduce an array of path components to a more simplified path by navigating any
"."
or ".."
entries in the path.
Parameters
Section titled “Parameters”Parameter | Type |
---|---|
components | readonly string [] |
Returns
Section titled “Returns”string
[]