UNPKG
@lifaon/path
Version:
latest (3.0.0)
3.0.0
2.1.0
2.0.0
1.1.2
1.1.1
1.1.0
1.0.0
Useful tool to manage paths like the URL object
github.com/lifaon74/path
lifaon74/path
@lifaon/path
/
.private
/
segments
/
functions
/
is
/
is-pure-parent-directory-path-segments.d.ts
6 lines
(5 loc)
•
236 B
TypeScript
View Raw
1
2
3
4
5
6
import
type
{
IPathSegments
}
from
'../../../../types/segments/path-segments.type.js'
;
/** * Returns true if the path contains only `..`. */
export
declare
function
isPureParentDirectoryPathSegments
(
segments
:
IPathSegments
):
boolean
;