zhiquz 7a40c7e6aa first commit hace 1 año
..
.github 7a40c7e6aa first commit hace 1 año
test 7a40c7e6aa first commit hace 1 año
.editorconfig 7a40c7e6aa first commit hace 1 año
.eslintignore 7a40c7e6aa first commit hace 1 año
.eslintrc 7a40c7e6aa first commit hace 1 año
.nycrc 7a40c7e6aa first commit hace 1 año
CHANGELOG.md 7a40c7e6aa first commit hace 1 año
LICENSE 7a40c7e6aa first commit hace 1 año
README.md 7a40c7e6aa first commit hace 1 año
index.js 7a40c7e6aa first commit hace 1 año
package.json 7a40c7e6aa first commit hace 1 año

README.md

#is-arguments Version Badge

dependency status dev dependency status License Downloads

npm badge

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

Example

var isArguments = require('is-arguments');
var assert = require('assert');

assert.equal(isArguments({}), false);
assert.equal(isArguments([]), false);
(function () {
	assert.equal(isArguments(arguments), true);
}())

Caveats

If you have modified an actual arguments object by giving it a Symbol.toStringTag property, then this package will return false.

Tests

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