Skip to content

Commit e5b3d51

Browse files
committed
fix: helper common
1 parent 6c63a62 commit e5b3d51

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/helpers/Common.ts

+3-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,9 @@ function arrayFormatter(arrayData: string | string[]) {
5151
* @param value
5252
*/
5353
function validateEmpty(value: any) {
54-
if (isEmpty(value) || invalidValues.includes(value)) {
54+
const emptyValues = [null, undefined, '', 'null', 'undefined']
55+
56+
if (emptyValues.includes(value)) {
5557
return null
5658
}
5759

0 commit comments

Comments
 (0)