MCPcopy Create free account
hub / github.com/TruthHun/BookStack / boundFn

Function boundFn

static/vuejs/vue.runtime.common.js:121–128  ·  view source on GitHub ↗
(a)

Source from the content-addressed store, hash-verified

119 */
120function bind (fn, ctx) {
121 function boundFn (a) {
122 var l = arguments.length;
123 return l
124 ? l > 1
125 ? fn.apply(ctx, arguments)
126 : fn.call(ctx, a)
127 : fn.call(ctx)
128 }
129 // record original fn length
130 boundFn._length = fn.length;
131 return boundFn

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected