gushoubang 3d8e66ac9f 更改脚本 1 рік тому
..
.github 3d8e66ac9f 更改脚本 1 рік тому
test 3d8e66ac9f 更改脚本 1 рік тому
.editorconfig 3d8e66ac9f 更改脚本 1 рік тому
.eslintignore 3d8e66ac9f 更改脚本 1 рік тому
.eslintrc 3d8e66ac9f 更改脚本 1 рік тому
.nycrc 3d8e66ac9f 更改脚本 1 рік тому
CHANGELOG.md 3d8e66ac9f 更改脚本 1 рік тому
LICENSE 3d8e66ac9f 更改脚本 1 рік тому
README.md 3d8e66ac9f 更改脚本 1 рік тому
index.js 3d8e66ac9f 更改脚本 1 рік тому
package.json 3d8e66ac9f 更改脚本 1 рік тому

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