Readonly
dirWhether this is a route to directory.
Readonly
pathA path split onto file and directory entries.
Extracts a section of this route between the given entry indices.
Zero-based index at which to start extraction. A negative index is treated as zero.
Optional
toEntry: numberZero-based index before which to end extraction. A value greater than the path length is treated
as equal to path length. If this value is less than from
, an empty route is returned.
Either a route section, or this route if section has the same length.
Generated using TypeDoc
A route representing a path to file or directory.