MCPcopy
hub / github.com/di-sukharev/opencommit / isSharedArrayBuffer

Function isSharedArrayBuffer

out/cli.cjs:2587–2594  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

2585 }
2586 }
2587 function isSharedArrayBuffer(value) {
2588 try {
2589 sabByteLengthGetter.call(value);
2590 return true;
2591 } catch {
2592 return false;
2593 }
2594 }
2595 function isArrayBufferDetached(value) {
2596 try {
2597 new Uint8Array(value);

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…