dotfiles/vscode/.vscode/extensions/matangover.mypy-0.3.1/node_modules/is-arguments
Errol Sancaktar 5f8db31398 alacritty
2024-07-15 17:06:13 -06:00
..
.github alacritty 2024-07-15 17:06:13 -06:00
test alacritty 2024-07-15 17:06:13 -06:00
.editorconfig alacritty 2024-07-15 17:06:13 -06:00
.eslintignore alacritty 2024-07-15 17:06:13 -06:00
.eslintrc alacritty 2024-07-15 17:06:13 -06:00
.nycrc alacritty 2024-07-15 17:06:13 -06:00
CHANGELOG.md alacritty 2024-07-15 17:06:13 -06:00
index.js alacritty 2024-07-15 17:06:13 -06:00
LICENSE alacritty 2024-07-15 17:06:13 -06:00
package.json alacritty 2024-07-15 17:06:13 -06:00
README.md alacritty 2024-07-15 17:06:13 -06:00

#is-arguments Version Badge

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