• Removes a trailing hash ('#') from the given URL if it exists.

    Parameters

    • url: string

    Returns string