@extra-lists/is-empty.min

Checks if lists is empty. :package: :smiley_cat: :running: :vhs: :moon: :scroll: :newspaper: :blue_book:

Usage no npm install needed!

<script type="module">
  import extraListsIsEmptyMin from 'https://cdn.skypack.dev/@extra-lists/is-empty.min';
</script>

README

Checks if lists is empty. :package: :smiley_cat: :running: :vhs: :moon: :scroll: :newspaper: :blue_book:

Similar: size, isEmpty.

This is part of package extra-lists.

This is browserified, minified version of @extra-lists/is-empty.
It is exported as global variable lists_isEmpty.
CDN: unpkg, jsDelivr.


lists.isEmpty(x);
// x: lists
const lists = require('extra-lists');

var x = [['a', 'b', 'c'], [1, 2, 3]];
lists.isEmpty(x);
// false

var x = [[], []];
lists.isEmpty(x);
// true


References