- matchRoutes<RouteObjectType>(routes, locationArg, basename?): AgnosticRouteMatch<string, RouteObjectType>[] | null
 Type Parameters
- RouteObjectType extends AgnosticRouteObject = AgnosticRouteObject
 
Returns AgnosticRouteMatch<string, RouteObjectType>[] | null
Matches the given routes to a location and returns the match data.