Socket
Socket
Sign inDemoInstall

is-any-array

Package Overview
Dependencies
0
Maintainers
4
Versions
8
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    is-any-array

Check if a value is any kind of array


Version published
Weekly downloads
577K
increased by7.32%
Maintainers
4
Install size
7.78 kB
Created
Weekly downloads
 

Changelog

Source

2.0.1 (2023-04-28)

Bug Fixes

  • improve types and exclude bigint arrays (c4738a4)

Readme

Source

is-any-array

NPM version build status npm download

Check if a value is any kind of array.

Installation

$ npm install is-any-array

Example

const {isAnyArray} = require('is-any-array');

isAnyArray(1); // false
isAnyArray('ab'); // false
isAnyArray({ a: 1 }); // false

isAnyArray([1, 2, 3]); // true
isAnyArray(new Uint16Array(2))) // true;

License

MIT

FAQs

Last updated on 28 Apr 2023

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