{"_id":"is-args","_rev":"1745854","name":"is-args","description":"Quickly check if a variable is an Arguments object","dist-tags":{"latest":"0.0.1"},"maintainers":[{"name":"jaycetde","email":"jaycemp@gmail.com"}],"time":{"modified":"2026-11-19T14:38:56.000Z","created":"2014-01-22T06:53:15.985Z","0.0.1":"2014-01-27T06:02:01.318Z","0.0.0":"2014-01-22T06:53:15.985Z"},"users":{},"author":{"name":"Jayce Pulsipher","email":"jaycemp@gmail.com"},"repository":{"type":"git","url":"https://github.com/JayceTDE/is-args.git"},"versions":{"0.0.1":{"name":"is-args","version":"0.0.1","description":"Quickly check if a variable is an Arguments object","main":"index.js","directories":{"test":"test"},"scripts":{"test":"mocha --reporter spec"},"repository":{"type":"git","url":"https://github.com/JayceTDE/is-args.git"},"keywords":["arguments","args","is"],"devDependencies":{"mocha":"*","should":"*"},"author":{"name":"Jayce Pulsipher","email":"jaycemp@gmail.com"},"license":"MIT","_id":"is-args@0.0.1","dist":{"shasum":"8ca6e3ca557c3b36b3c62aa16a59539185380b16","tarball":"http://registry-npm.ywwl.com/is-args/download/is-args-0.0.1.tgz","integrity":"sha512-b4/vxIj0QsYvUVfCMyUJap8AaQLeONS4uOSDTZLoOyV1Xu0/+NwlMwKl7XYay1KoupUojkr+24R3/O4KW26kmA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQClT0eVdJ4RGcd87tzPJrcqYSPSf4+m0K+v3exomnFuFAIhAPoNUfPwyEbGTWQ71d75wHOdlrZUYnSyaFQ7+eiLZZve"}],"size":3536,"noattachment":false,"key":"/is-args/-/is-args-0.0.1.tgz"},"_from":".","_npmVersion":"1.2.18","_npmUser":{"name":"jaycetde","email":"jaycemp@gmail.com"},"maintainers":[{"name":"jaycetde","email":"jaycemp@gmail.com"}],"publish_time":1390802521318,"_cnpm_publish_time":1390802521318},"0.0.0":{"name":"is-args","version":"0.0.0","description":"Quickly check if a variable is an Arguments object","main":"index.js","directories":{"test":"test"},"scripts":{"test":"mocha --reporter spec"},"repository":{"type":"git","url":"https://github.com/JayceTDE/is-args.git"},"keywords":["arguments","args","is"],"devDependencies":{"mocha":"*","should":"*"},"author":{"name":"Jayce Pulsipher","email":"jaycemp@gmail.com"},"license":"MIT","_id":"is-args@0.0.0","dist":{"shasum":"96beb57d31a8dfb981d5e6e1f9e333894fb96d9b","tarball":"http://registry-npm.ywwl.com/is-args/download/is-args-0.0.0.tgz","integrity":"sha512-QpmltIbR6jr6k/Pztz7Nk581c/mrnLqMyuGahRsJGPUpq9pYApjPEZUwPNKEeqAhjTQX0+4eSHpOfAqOpMSqug==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDIqPPN+om3XJQ7FU431YaFn/jmI8XZpB7V8LJYwjO9CAIhANY5ECnk+0q72UjtBjZqeEcN44QdRgJzV4jSpt2wL+me"}],"size":2754,"noattachment":false,"key":"/is-args/-/is-args-0.0.0.tgz"},"_from":".","_npmVersion":"1.2.18","_npmUser":{"name":"jaycetde","email":"jaycemp@gmail.com"},"maintainers":[{"name":"jaycetde","email":"jaycemp@gmail.com"}],"publish_time":1390373595985,"_cnpm_publish_time":1390373595985}},"readme":"# is-args\r\n\r\nQuickly check if a variable is Arguments.\r\n\r\n```javascript\r\n\r\nvar isArgs = require('is-args');\r\n\r\nisArgs((function () { return arguments; })(1, 2, 3));\r\n// true;\r\n\r\nisArgs([1, 2, 3]);\r\n// false;\r\n\r\n```\r\n\r\n## Installation\r\n\r\n    $ npm install is-args\r\n\r\n## Limitations\r\n\r\nThis is not the standard `Object.prototype.toString.call(val) === '[object Arguments]'` method.\r\nThis method is [much faster](http://jsperf.com/is-args-vs-object-prototype-tostring-call) than the `toString` method, \r\nhowever, there is a chance that you may get false positives on objects that resemble arguments:\r\n\r\n```javascript\r\n\r\nvar x = [1,2,3];\r\nx.callee = function () {};\r\n\r\nisArguments(x);\r\n// true\r\n\r\n```\r\n\r\nKeep this in mind as you work with this module.","_attachments":{},"license":"MIT"}