Retrieves the route parameters from a given pathname based on a set of routes.
The type of object to return as the parameters.
The array of route objects to search through.
The pathname to extract the parameters from.
Retrieves the route parameters from a given pathname based on a set of routes.