Détail du package

is-any-array

cheminfo-js2.4mMIT2.0.1

Check if a value is any kind of array

readme

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

changelog

Changelog

2.0.1 (2023-04-28)

Bug Fixes

  • improve types and exclude bigint arrays (c4738a4)

2.0.0 (2021-10-15)

⚠ BREAKING CHANGES

When using this project you will need to use a named import: import { isAnyArray } from 'is-any-array'.

Code Refactoring

  • setup project for TypeScript (#7) (21e47a0)

1.0.1 (2021-06-30)

Bug Fixes

  • rollup in dependencies ! (7c26c34)

1.0.0 (2021-03-24)

Bug Fixes

  • update readme and dependencies (7ae8169)

0.1.1 (2021-02-11)

0.1.0 (2020-02-25)

0.0.3 (2018-10-26)

0.0.2 (2018-10-26)