Neoclassical Philosophic Musings
Miss any of our Open RFC calls?Watch the recordings here! »

@extra-iterable/is-list

2.5.13 • Public • Published

Checks if value is list (not string). 🏃 📼 📦 🌔 📒

Alternatives: is, isList, isIterator, isOnce, isMany.
This is part of package extra-iterable.

iterable.isList(v);
// v: a value
const iterable = require('extra-iterable');
 
iterable.isList([1, 2]);
// true
 
iterable.isList('ab');
// false
 
iterable.isList(1);
// false

Install

npm i @extra-iterable/is-list

DownloadsWeekly Downloads

241

Version

2.5.13

License

MIT

Unpacked Size

4.28 kB

Total Files

14

Last publish

Collaborators

  • avatar