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

Function allSame

test/parallel/test-http-same-map.js:40–46  ·  view source on GitHub ↗
(list)

Source from the content-addressed store, hash-verified

38onresponse.responses = [];
39
40function allSame(list) {
41 assert(list.length >= 2);
42 // eslint-disable-next-line no-unused-vars
43 for (const elt of list) eval('%DebugPrint(elt)');
44 // eslint-disable-next-line no-unused-vars
45 for (const elt of list) assert(eval('%HaveSameMap(list[0], elt)'));
46}
47
48process.on('exit', () => {
49 eval('%CollectGarbage(0)');

Callers 1

Calls 2

evalFunction · 0.70
assertFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…