Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.
nitowa 1dae68b1c7 init 2 роки тому
..
.github init 2 роки тому
test init 2 роки тому
.editorconfig init 2 роки тому
.eslintignore init 2 роки тому
.eslintrc init 2 роки тому
.nycrc init 2 роки тому
CHANGELOG.md init 2 роки тому
LICENSE init 2 роки тому
README.md init 2 роки тому
index.js init 2 роки тому
package.json init 2 роки тому

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