TransFlow/node_modules/is-arguments
chengdandan 85790148ae 跳转子页面 2022-12-16 14:55:34 +08:00
..
.github 跳转子页面 2022-12-16 14:55:34 +08:00
test 跳转子页面 2022-12-16 14:55:34 +08:00
.editorconfig 代码提交 2022-12-15 10:56:04 +08:00
.eslintignore 跳转子页面 2022-12-16 14:55:34 +08:00
.eslintrc 代码提交 2022-12-15 10:56:04 +08:00
.jscs.json 代码提交 2022-12-15 10:56:04 +08:00
.nycrc 跳转子页面 2022-12-16 14:55:34 +08:00
.travis.yml 代码提交 2022-12-15 10:56:04 +08:00
CHANGELOG.md 代码提交 2022-12-15 10:56:04 +08:00
LICENSE 代码提交 2022-12-15 10:56:04 +08:00
README.md 代码提交 2022-12-15 10:56:04 +08:00
index.js 代码提交 2022-12-15 10:56:04 +08:00
package.json 代码提交 2022-12-15 10:56:04 +08:00
test.js 代码提交 2022-12-15 10:56:04 +08:00

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