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

Function parameterCount

static/word2md/mammoth.browser.js:7788–7793  ·  view source on GitHub ↗
(fn)

Source from the content-addressed store, hash-verified

7786};
7787
7788var parameterCount = function(fn) {
7789 if (typeof fn.length === "number") {
7790 return Math.max(Math.min(fn.length, 1023 + 1), 0);
7791 }
7792 return 0;
7793};
7794
7795makeNodePromisifiedEval =
7796function(callback, receiver, originalName, fn, _, multiArgs) {

Callers 1

mammoth.browser.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected