MCPcopy
hub / github.com/mobxjs/mobx / fn

Function fn

packages/mobx-react/src/utils/utils.ts:119–121  ·  view source on GitHub ↗
(...args: Array<any>)

Source from the content-addressed store, hash-verified

117
118function wrapFunction(realMethod: Function, mixins: Mixins): (...args: Array<any>) => any {
119 const fn = function (...args: Array<any>) {
120 wrapper.call(this, realMethod, mixins, ...args)
121 }
122 return fn
123}
124

Callers 1

withConsoleFunction · 0.50

Calls

no outgoing calls

Tested by 1

withConsoleFunction · 0.40