Ben 34809681ae fix пре 11 месеци
..
.github 34809681ae fix пре 11 месеци
test 34809681ae fix пре 11 месеци
.editorconfig 34809681ae fix пре 11 месеци
.eslintignore 34809681ae fix пре 11 месеци
.eslintrc 34809681ae fix пре 11 месеци
.nycrc 34809681ae fix пре 11 месеци
CHANGELOG.md 34809681ae fix пре 11 месеци
LICENSE 34809681ae fix пре 11 месеци
README.md 34809681ae fix пре 11 месеци
index.js 34809681ae fix пре 11 месеци
package.json 34809681ae fix пре 11 месеци

README.md

is-arguments Version Badge

github actions coverage 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