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

Function predicate

deps/v8/test/mjsunit/es6/array-find.js:246–246  ·  view source on GitHub ↗
(v)

Source from the content-addressed store, hash-verified

244 };
245 const received = [];
246 const predicate = (v) => { received.push(v); return false; };
247 const found = Array.prototype.find.call(obj, predicate);
248 assertEquals(undefined, found);
249 assertArrayEquals([0, undefined, 2], received);

Callers 15

RegenerateAppendFlagFunction · 0.50
removeCharsFunction · 0.50
onUnhandledSucceedFunction · 0.50
findFunction · 0.50
findLastFunction · 0.50
findIndexFunction · 0.50
findLastIndexFunction · 0.50
countWhereFunction · 0.50
someFunction · 0.50
takeWhileFunction · 0.50

Calls 1

pushMethod · 0.45

Tested by

no test coverage detected