MCPcopy Index your code
hub / github.com/andywer/threads.js / isTransferDescriptor

Function isTransferDescriptor

src/transferable.ts:15–17  ·  view source on GitHub ↗
(thing: any)

Source from the content-addressed store, hash-verified

13}
14
15export function isTransferDescriptor(thing: any): thing is TransferDescriptor {
16 return thing && typeof thing === "object" && thing[$transferable]
17}
18
19/**
20 * Mark a transferable object as such, so it will no be serialized and

Callers 2

deconstructTransferFunction · 0.90
prepareArgumentsFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected