@extra-array/is-empty.min
v2.10.19
Published
Checks is array is empty.
Downloads
605
Readme
Checks is array is empty. :package: :smiley_cat: :running: :vhs: :moon: :scroll: :newspaper: :blue_book:
Similar: index, indexRange, size, isEmpty.
This is part of package extra-array.
This is browserified, minified version of @extra-array/is-empty. It is exported as global variable array_isEmpty. CDN: unpkg, jsDelivr.
array.isEmpty(x);
// x: an array
const array = require("extra-array");
var x = [1, 2, 3];
array.isEmpty(x);
// false
var x = [];
array.isEmpty(x);
// true