requireURIParam()function

requireURIParam(params: PossibleURIParams, key: string, caller: AnyCaller = requireURIParam): string
ParamType
paramsPossibleURIParams
Type for things that can be converted to named URI parameters. required
keystring
required
callerAnyCaller
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.