philips_supernote-obsidian-.../node_modules/is-any-array
Brandon Philips 2518e666d2 node_modules: initial import
Since there is no native code I am just checking all of the dependencies
in to simplify life and avoid a hard dependency on npm working on any
given day.
2024-04-05 23:08:52 -07:00
..
lib node_modules: initial import 2024-04-05 23:08:52 -07:00
lib-esm node_modules: initial import 2024-04-05 23:08:52 -07:00
src node_modules: initial import 2024-04-05 23:08:52 -07:00
LICENSE node_modules: initial import 2024-04-05 23:08:52 -07:00
package.json node_modules: initial import 2024-04-05 23:08:52 -07:00
README.md node_modules: initial import 2024-04-05 23:08:52 -07:00

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