MCPcopy Create free account
hub / github.com/GoogleChrome/samples / StructCtor

Function StructCtor

sqlite-wasm-cos/sqlite3-node.mjs:10620–10626  ·  view source on GitHub ↗
(arg)

Source from the content-addressed store, hash-verified

10618
10619 */
10620 const StructCtor = function StructCtor(arg){
10621 //console.warn("opt",opt,arguments[0]);
10622 if(!(this instanceof StructCtor)){
10623 toss("The",structName,"constructor may only be called via 'new'.");
10624 }
10625 __allocStruct(StructCtor, this, ...arguments);
10626 };
10627 const self = this;
10628 /**
10629 "Convert" struct description x to a struct description, if

Callers

nothing calls this directly

Calls 2

tossFunction · 0.70
__allocStructFunction · 0.70

Tested by

no test coverage detected