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

Function boundFn

static/vuejs/vue.runtime.js:125–132  ·  view source on GitHub ↗
(a)

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected