node package manager
We need your input. Help make JavaScript better: Take the 2017 JavaScript Ecosystem survey »


is-arguments Version Badge

Build Status dependency status dev dependency status License Downloads

npm badge

browser support

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