Skip to main content

join()

const join: {(...paths): string; (...paths): string; } = upath.join

Call Signature

(...paths): string

Join all arguments together and normalize the resulting path. Arguments must be strings. In v0.8, non-string arguments were silently ignored. In v0.10 and up, an exception is thrown.

Parameters

ParameterTypeDescription

...paths

any[]

string paths to join.

Returns

string

Call Signature

(...paths): string

Join all arguments together and normalize the resulting path. Arguments must be strings. In v0.8, non-string arguments were silently ignored. In v0.10 and up, an exception is thrown.

Parameters

ParameterTypeDescription

...paths

string[]

string paths to join.

Returns

string