clearURIParams()function
clearURIParams(uri: ImmutableURL | URLString, caller?: AnyCaller): ImmutableURL
clearURIParams(uri: PossibleURI, caller?: AnyCaller): ImmutableURI
| Param | Type | |
|---|---|---|
uri | ImmutableURLURLString | required |
caller | AnyCaller | Any calling function or constructor, usually referring to something that can call in the current scope that can appear in a stack trace. |
uri | PossibleURI | Values that can be converted to an ImmutableURI instance. required |
| Return | |
|---|---|
ImmutableURL | Object that describes a valid URL, e.g. example.com/path/to/resource |
ImmutableURI | Object that describes a valid URI, e.g. or example.com/path/to/resource |
Return a URI with no search params (or same URI if no changes were made).