[F] joinPathSegments
function joinPathSegments(rest): string;Joins route fragments, adding a slash when a fragment lacks a recognized separator and trimming one trailing slash from non-final fragments. Preserves URI-template path expansions. An empty input returns an empty string.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
rest | string[] |
Returns
Section titled “Returns”string