Skip to content

PurePath.(constructor)

pathlib-ts > PurePath > (constructor)

Constructs a new instance of the PurePath class

Signature:

constructor(...segments: Array<PathLike>);

Parameter

Type

Description

segments

Array<PathLike>