Socket
Book a DemoInstallSign in
Socket

is-any-array

Package Overview
Dependencies
Maintainers
4
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

is-any-array

Check if a value is any kind of array

Source
npmnpm
Version
2.0.0
Version published
Weekly downloads
933K
2.21%
Maintainers
4
Weekly downloads
 
Created
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

Package last updated on 28 Oct 2021

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