Function: withoutFragment()
function withoutFragment(target: string): string;Defined in: return-to.ts:59 (opens in a new tab)
target without its fragment, for a browser about to leave for it. A
fragment on a same-origin target is kept for restoreReturnFragment.
Safe on the server, where it only cuts the fragment off.
ParametersLink to this section
| Parameter | Type |
|---|---|
target | string |
ReturnsLink to this section
string