@mll-lab/js-utils 2.19.0 → 2.20.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/array.d.ts +1 -0
- package/dist/index.common.js +4 -0
- package/dist/index.common.js.map +1 -1
- package/dist/index.js +4 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -9435,6 +9435,9 @@ root._=_;}}).call(commonjsGlobal);});
|
|
|
9435
9435
|
function isNonEmptyArray(value) {
|
|
9436
9436
|
return value.length > 0;
|
|
9437
9437
|
}
|
|
9438
|
+
function isEmptyArray(value) {
|
|
9439
|
+
return value instanceof Array && value.length === 0;
|
|
9440
|
+
}
|
|
9438
9441
|
/**
|
|
9439
9442
|
* Return a new array that does not contain the item at the specified index.
|
|
9440
9443
|
*/
|
|
@@ -15484,6 +15487,7 @@ exports.insertIf = insertIf;
|
|
|
15484
15487
|
exports.isAlphanumeric = isAlphanumeric;
|
|
15485
15488
|
exports.isBSNR = isBSNR;
|
|
15486
15489
|
exports.isEmail = isEmail;
|
|
15490
|
+
exports.isEmptyArray = isEmptyArray;
|
|
15487
15491
|
exports.isFuture = isFuture;
|
|
15488
15492
|
exports.isLabId = isLabId;
|
|
15489
15493
|
exports.isMobileDevice = isMobileDevice;
|