MCPcopy Create free account
hub / github.com/callstackincubator/polygen / addFunction

Method addFunction

packages/wasm-parser/src/module.ts:104–106  ·  view source on GitHub ↗
(funcType: FunctionType)

Source from the content-addressed store, hash-verified

102 }
103
104 public addFunction(funcType: FunctionType) {
105 this.functions.push(mapFunction(funcType));
106 }
107
108 public addFunctions(funcTypes: FunctionType[]) {
109 this.functions = this.functions.concat(funcTypes.map(mapFunction));

Callers

nothing calls this directly

Calls 1

mapFunctionFunction · 0.85

Tested by

no test coverage detected