Feature/excel print
This commit is contained in:
6
src/core/utils/isArrayEmpty.js
Normal file
6
src/core/utils/isArrayEmpty.js
Normal file
@@ -0,0 +1,6 @@
|
||||
export default function isArrayEmpty(value) {
|
||||
if (Array.isArray(value)) {
|
||||
return value.length === 0 || value.every((v) => v === "");
|
||||
}
|
||||
return value === "" || value === null || value === undefined;
|
||||
}
|
||||
Reference in New Issue
Block a user