is-arguments

Is this an arguments object? It's a harder question than you think.

#is-arguments

Is this an arguments object? It's a harder question than you think.

var isArguments = require('is-arguments');
var assert = require('assert');
 
assert.equal(isArguments({}), false);
assert.equal(isArguments([]), false);
(function () {
    assert.equal(isArguments(arguments), true);
}())

Simply clone the repo, npm install, and run npm test