Big news!Introducing Socket AI - ChatGPT-Powered Threat Analysis.Learn more
Socket
Socket

is-arguments

Package Overview
Dependencies
2
Maintainers
1
Versions
8
Issues
File Explorer

Advanced tools

is-arguments

Is this an arguments object? It's a harder question than you think.

    1.1.1latest
    GitHub
    npm

Version published
Maintainers
1
Weekly downloads
23,567,867
increased by9.61%

Weekly downloads

Changelog

Source

v1.1.1 - 2021-08-05

Commits

  • [actions] use node/install instead of node/run; use codecov action dd28b30
  • [meta] do not publish github action workflow files 87e489c
  • [readme] fix repo URLs e2c2c6e
  • [Dev Deps] update eslint, @ljharb/eslint-config, aud, tape b9ae62b
  • [readme] add github actions/codecov badges 504c0a5
  • [Fix] use has-tostringtag to behave correctly in the presence of symbol shams dc29e52
  • [Dev Deps] update auto-changelog, eslint, tape a966d25
  • [Dev Deps] update eslint, @ljharb/eslint-config, tape 1218944
  • [meta] use prepublishOnly script for npm 7+ 757dbee
  • [Deps] update call-bind b206f05
  • [actions] update workflows b89b2f1

Readme

Source

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

Keywords

FAQs

Last updated on 05 Aug 2021

Did you know?

Socket installs a Github app to automatically flag issues on every pull request and report the health of your dependencies. Find out what is inside your node modules and prevent malicious activity before you update the dependencies.

Install Socket
Socket
Socket SOC 2 Logo

Product

  • Package Issues
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc