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

Method exclude

ng-dev/pullapprove/pullapprove_arrays.ts:39–41  ·  view source on GitHub ↗

Returns a new array which only includes files that did not match the given pattern.

(pattern: string)

Source from the content-addressed store, hash-verified

37
38 /** Returns a new array which only includes files that did not match the given pattern. */
39 exclude(pattern: string): PullApproveGroupArray {
40 return new PullApproveGroupArray(...this.filter((s) => s.groupName.match(pattern)));
41 }
42
43 get approved() {
44 throw new PullApproveGroupStateDependencyError();

Callers

nothing calls this directly

Calls 1

matchMethod · 0.45

Tested by

no test coverage detected