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

Function apply

ng-dev/utils/git/github.ts:77–79  ·  view source on GitHub ↗
(targetFn, thisArg, argArray)

Source from the content-addressed store, hash-verified

75 if (typeof value === 'function') {
76 return new Proxy(value, {
77 apply(targetFn, thisArg, argArray) {
78 return invokeWithRetry(() => (targetFn as Function).apply(targetObj, argArray));
79 },
80 });
81 }
82 if (typeof value === 'object' && value !== null) {

Callers

nothing calls this directly

Calls 2

invokeWithRetryFunction · 0.85
applyMethod · 0.45

Tested by

no test coverage detected