src/matchRoutes.js
function matchRoutes(routes, path, query) {
  query = query === undefined ? {} : isString(query) ? qs.parse(query) : query;
  return matchRoutesImpl(routes, path, query);
}
function matchRoutes(routes, path, query) {
  query = query === undefined ? {} : isString(query) ? qs.parse(query) : query;
  return matchRoutesImpl(routes, path, query);
}
function matchRoutes ( routes , path , query ) { query = query === undefined ? { } : isString ( query ) ? qs . parse ( query ) : query ; return matchRoutesImpl ( routes , path , query ) ; }
Match routes against path

@param {Route} routes
@param {String} path
@returns {Match}
Match routes against path