Skip to content

ARGUMENTS

Subhajit Sahu edited this page Jul 29, 2022 · 3 revisions

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']
Clone this wiki locally