MCPcopy Create free account
hub / github.com/angular/angular / matrixParamsMatch

Function matrixParamsMatch

packages/router/src/url_tree.ts:245–253  ·  view source on GitHub ↗
(
  containerPaths: UrlSegment[],
  containeePaths: UrlSegment[],
  options: ParamMatchOptions,
)

Source from the content-addressed store, hash-verified

243}
244
245function matrixParamsMatch(
246 containerPaths: UrlSegment[],
247 containeePaths: UrlSegment[],
248 options: ParamMatchOptions,
249) {
250 return containeePaths.every((containeeSegment, i) => {
251 return paramCompareMap[options](containerPaths[i].parameters, containeeSegment.parameters);
252 });
253}
254
255/**
256 * @description

Callers 2

equalSegmentGroupsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected