ARGUMENTS - nodef/extra-function GitHub Wiki

Return the arguments passed as a array.

Similar: ARGUMENTS, NOOP, IDENTITY, COMPARE.

function ARGUMENTS(...args)
// args: arguments
const xfunction = require('extra-function');


xfunction.ARGUMENTS(1, 2);
// → [1, 2]

xfunction.ARGUMENTS('a', 'b');
// → ['a', 'b']