Skip to Content

trimTrailingSlashes()

trimTrailingSlashes(url): string

Defined in: utils/joinUrlPath.ts:7 

A URL without the slashes at its end.

Parameters

url

string

The URL.

Returns

string

The URL without them.

Last updated on