Socket
Socket
Sign inDemoInstall

are-arrays

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

are-arrays

Function for check if all values are arrays


Version published
Maintainers
1
Created
Source

are-arrays

Function for check if all values are arrays.

Installation

With the simple command npm install are-arrays.

Usage

The function takes any arguments as you want.

Example:

const areArrays = require('are-arrays');

areArrays({}, 12, [1, null]); // false
areArrays([], [1, 33.2]); // true
areArrays(function(){}, String(), []); // false

Test

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

License

MIT

Keywords

FAQs

Package last updated on 18 Apr 2017

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