MCPcopy Create free account
hub / github.com/angular/dev-infra / getGroupByName

Function getGroupByName

ng-dev/pullapprove/verify.spec.ts:158–160  ·  view source on GitHub ↗
(groups: PullApproveGroup[], name: string)

Source from the content-addressed store, hash-verified

156});
157
158function getGroupByName(groups: PullApproveGroup[], name: string): PullApproveGroup | undefined {
159 return groups.find((g) => g.groupName === name);
160}
161
162function getGroupNames(groups: PullApproveGroup[]) {
163 return groups.map((g) => g.groupName);

Callers 1

verify.spec.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected