MCPcopy Index your code
hub / github.com/angular/angular / bindArguments

Function bindArguments

packages/zone.js/lib/common/utils.ts:68–75  ·  view source on GitHub ↗
(args: any[], source: string)

Source from the content-addressed store, hash-verified

66const REMOVE_ATTRIBUTE = 'removeAttribute';
67
68export function bindArguments(args: any[], source: string): any[] {
69 for (let i = args.length - 1; i >= 0; i--) {
70 if (typeof args[i] === 'function') {
71 args[i] = wrapWithCurrentZone(args[i], source + '_' + i);
72 }
73 }
74 return args;
75}
76
77export function patchPrototype(prototype: any, fnNames: string[]) {
78 const source = prototype.constructor['name'];

Callers 2

patchedFunction · 0.85
patchClassFunction · 0.85

Calls 1

wrapWithCurrentZoneFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…