-
Notifications
You must be signed in to change notification settings - Fork 5
wolfram77 edited this page Apr 13, 2020
·
17 revisions
Checks if value is array. [:running:] [:vhs:] [:package:] [:moon:]
array.is(v);
// v: value
const array = require('extra-array');
array.is([1, 2]);
// true
array.is([]);
// true
array.is(new Set([1, 2]));
// false
- Array.isArray(): MDN web docs [:running:]: https://npm.runkit.com/@extra-array/is [:vhs:]: https://asciinema.org/a/319466 [:package:]: https://www.npmjs.com/package/@extra-array/is [:moon:]: https://www.npmjs.com/package/@extra-array/is.min