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

Function isPartialArrayBufferView

lib/internal/util/comparisons.js:174–182  ·  view source on GitHub ↗
(a, b)

Source from the content-addressed store, hash-verified

172}
173
174function isPartialArrayBufferView(a, b) {
175 if (a.byteLength < b.byteLength) {
176 return false;
177 }
178 return isPartialUint8Array(
179 new Uint8Array(a.buffer, a.byteOffset, a.byteLength),
180 new Uint8Array(b.buffer, b.byteOffset, b.byteLength),
181 );
182}
183
184function areSimilarFloatArrays(a, b) {
185 const len = getByteLength(a);

Callers 1

objectComparisonStartFunction · 0.85

Calls 1

isPartialUint8ArrayFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…