@extra-iterable/is-list.min

Checks if value is list (not string).

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
@extra-iterable/is-list.min
512.5.222 years ago3 years agoMinified + gzip package size for @extra-iterable/is-list.min in KB

Readme

Checks if value is list (not string). :package: :smileycat: :running: :vhs: :moon: :scroll: :newspaper: :bluebook:
Alternatives: is, isList, isIterator, isOnce, isMany.

This is part of package extra-iterable.

This is browserified, minified version of @extra-iterable/is-list.
It is exported as global variable iterableisList.
CDN: unpkg
, jsDelivr.



iterable.isList(v);
// v: a value

const iterable = require("extra-iterable");

iterable.isList([1, 2]);
// true

iterable.isList("ab");
// false

iterable.isList(1);
// false