Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

lodash.isarguments

Package Overview
Dependencies
Maintainers
4
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lodash.isarguments

The Lo-Dash function `_.isArguments` as a Node.js module generated by lodash-cli.

  • 2.4.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
8.5M
increased by4.54%
Maintainers
4
Weekly downloads
 
Created

What is lodash.isarguments?

The lodash.isarguments package is a utility function that checks if a given value is an arguments object. This is useful for type checking and ensuring that the value being worked with is indeed an arguments object, which is a special type of object in JavaScript that holds the arguments passed to a function.

What are lodash.isarguments's main functionalities?

Check if a value is an arguments object

This feature allows you to check if a given value is an arguments object. In the code sample, the `isArguments` function is used to check if the `arguments` object inside `exampleFunction` is indeed an arguments object, which returns true. It also checks if a regular array is an arguments object, which returns false.

const isArguments = require('lodash.isarguments');

function exampleFunction() {
  console.log(isArguments(arguments)); // true
}

exampleFunction();
console.log(isArguments([1, 2, 3])); // false

Other packages similar to lodash.isarguments

Keywords

FAQs

Package last updated on 03 Dec 2013

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc