Socket
Socket
Sign inDemoInstall

are-objects

Package Overview
Dependencies
0
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    are-objects

Function for check if all values are objects


Version published
Maintainers
1
Install size
3.38 kB
Created

Readme

Source

are-objects

Function for check if all values are objects.

Installation

With the simple command npm install are-objects.

Usage

The function takes any arguments as you want.

Example:

const areObjects = require('are-objects');

areObjects({}, 12, [1, null]); // false
areObjects([], {foo: false}); // true
areObjects(function(){}, String()); // false

Test

You should have installed globaly jasmine-node for test this package, then execute npm run test.

License

MIT

Keywords

FAQs

Last updated on 18 Apr 2017

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