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

Function areEqualArrayBuffers

lib/internal/util/comparisons.js:201–204  ·  view source on GitHub ↗
(buf1, buf2)

Source from the content-addressed store, hash-verified

199}
200
201function areEqualArrayBuffers(buf1, buf2) {
202 return buf1.byteLength === buf2.byteLength &&
203 compare(new Uint8Array(buf1), new Uint8Array(buf2)) === 0;
204}
205
206function isEqualBoxedPrimitive(val1, val2) {
207 if (isNumberObject(val1)) {

Callers 1

objectComparisonStartFunction · 0.85

Calls 1

compareFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…