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

Function mapFunction

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

Source from the content-addressed store, hash-verified

188}
189
190function mapFunction(funcType: FunctionType): ModuleFunction {
191 return {
192 kind: 'function',
193 parametersTypes: funcType.parameterTypes,
194 resultTypes: funcType.returnTypes,
195 };
196}
197
198function mapGlobal(global: GlobalType): ModuleGlobal {
199 return {

Callers 1

addFunctionMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected