UNPKG

@lifaon/path

Version:

Useful tool to manage paths like the URL object

7 lines 244 B
/** * Returns true if the path contains only `..`. */ export function isPureParentDirectoryPathSegments(segments) { return segments.every((segment) => segment === '..'); } //# sourceMappingURL=is-pure-parent-directory-path-segments.js.map