kinetex - v1.0.0-rc.1
    Preparing search index...

    Function withoutTrailingSlash

    • Remove trailing slash from a URL pathname.

      Parameters

      • url: string

        The URL to modify.

      Returns string

      URL without a trailing slash on the pathname. See withTrailingSlash notes about relative URLs.