We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Get the number of parameters of a function.
Similar: name, length.
function length(x) // x: a function
const xfunction = require('extra-function'); xfunction.length(() => 0); // → 0 xfunction.length((x, y) => 0); // → 2