Returns the path that is the result of having the specified values for the dynamic parameters.
Will throw an error in case the input parameters
object is missing one of the expected keys.
Optional
parameters: Record<TBase, string>Values for the dynamic parameters.
Checks if the provided path matches the route (pattern).
The result will be undefined
if there is no match.
If there is a match the result object will have the corresponding values for all the parameters.
The path to verify.
A route that is relative to another route. The relative path will be joined to the input base, which can either be an absolute URL or an InteractionRoute of which the path will be used.