Socket
Socket
Sign inDemoInstall

lodash.isobject

Package Overview
Dependencies
1
Maintainers
4
Versions
10
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    lodash.isobject

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


Version published
Weekly downloads
3.5M
increased by1.72%
Maintainers
4
Install size
10.5 kB
Created
Weekly downloads
 

Package description

What is lodash.isobject?

The lodash.isobject npm package is a utility module that provides functionality to check if a value is the type of Object. It is part of the larger Lodash library, which is a comprehensive toolkit of JavaScript utilities that provides consistency, customization, performance, and extras. lodash.isobject specifically helps in determining whether a provided value is an object, which is useful in various data validation and formatting scenarios in JavaScript programming.

What are lodash.isobject's main functionalities?

Object Type Checking

This feature allows developers to check if a given value is an object. It returns true for objects and arrays (since arrays are technically objects in JavaScript), but false for functions, null, and non-object values.

const isObject = require('lodash.isobject');
console.log(isObject({})); // true
console.log(isObject([1, 2, 3])); // true
console.log(isObject(Function)); // false
console.log(isObject(null)); // false

Other packages similar to lodash.isobject

Readme

Source

lodash.isobject v2.1.0

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

Dive in

There’s plenty of documentation, unit tests, & benchmarks.

Support

lodash.isobject has been tested in at least Node.js 0.6.8-0.10.18.

Author

twitter/jdalton
John-David Dalton

Contributors

twitter/blainebublitztwitter/kitcambridgetwitter/mathias
Blaine BublitzKit CambridgeMathias Bynens

Keywords

FAQs

Last updated on 23 Sep 2013

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc