tree: 555ff3a4dcfb31f7e1f33b4f15d80896ee5f6d57 [path history] [tgz]
  1. .editorconfig
  2. .eslintrc
  3. .jscs.json
  4. .travis.yml
  5. CHANGELOG.md
  6. index.js
  7. LICENSE
  8. package.json
  9. README.md
  10. test.js
src/third_party/devtools/node_modules/is-arguments/README.md

#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.

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