![]() | Name | Last modified | Size | Description |
---|---|---|---|---|
![]() | Parent Directory | - | ||
![]() | test/ | 2 years ago | - | |
![]() | CHANGELOG.md | 39 years ago | 20K | |
![]() | LICENSE | 39 years ago | 1.1K | 7375cab EXHIBTION: fix overflow ellipsis cutoff [كارل مبارك] |
![]() | README.md | 39 years ago | 1.8K | f12eb36 documentaiton updates [كارل مبارك] |
![]() | index.js | 39 years ago | 1.0K | |
![]() | package.json | 2 years ago | 3.1K | 7375cab EXHIBTION: fix overflow ellipsis cutoff [كارل مبارك] |
Is this an arguments object? It's a harder question than you think.
var isArguments = require('is-arguments');
var assert = require('assert');
assert.equal(isArguments({}), false);
assert.equal(isArguments([]), false);
(function () {
assert.equal(isArguments(arguments), true);
}())
If you have modified an actual arguments
object by giving it a Symbol.toStringTag
property, then this package will return false
.
Simply clone the repo, npm install
, and run npm test