requireURIParam()function
requireURIParam(params: PossibleURIParams, key: string, caller: AnyCaller = requireURIParam): string
| Param | Type | |
|---|---|---|
params | PossibleURIParams | Type for things that can be converted to named URI parameters. required |
key | string | 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. Defaults to requireURIParam |
| Return | |
|---|---|
string |
Get a single named param from a URI.