MCPcopy Index your code
hub / github.com/nodejs/node / forEach

Method forEach

deps/undici/src/types/fetch.d.ts:79–79  ·  view source on GitHub ↗
(callbackfn: (value: T, index: number) => void)

Source from the content-addressed store, hash-verified

77 reduce<U>(callbackfn: (previousValue: U, currentValue: T, currentIndex: number) => U, initialValue: U): U;
78 toArray(): T[];
79 forEach(callbackfn: (value: T, index: number) => void): void;
80 some(predicate: (value: T, index: number) => unknown): boolean;
81 every(predicate: (value: T, index: number) => unknown): boolean;
82 find<S extends T>(predicate: (value: T, index: number) => value is S): S | undefined;

Callers 15

parseArgsFunction · 0.65
reportIfMissingCheckFunction · 0.65
reportFunction · 0.65
reportIfMissingFunction · 0.65
'Program:exit'Function · 0.65
checkNamesArgumentFunction · 0.65
reportIfMissingFunction · 0.65
lint-md.mjsFile · 0.65
tls.jsFile · 0.65
BrotliFunction · 0.65
constructorMethod · 0.65

Calls

no outgoing calls

Tested by 10

testFunction · 0.52
testFunction · 0.52
testFunction · 0.52
testFunction · 0.52
testFunction · 0.52
testFunction · 0.52
testFunction · 0.52
testFunction · 0.52
testFunction · 0.52
testFunction · 0.52