Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
soulgalore committed Jan 4, 2025
1 parent 42954f0 commit 50f6246
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/support/util.js
Original file line number Diff line number Diff line change
Expand Up @@ -303,6 +303,8 @@ export function pick(obj, keys) {
export function isEmpty(value) {
if (value === null) return true;

if (value === undefined) return true;

if (typeof value === 'boolean') return false;

if (typeof value === 'number') return false;
Expand Down

0 comments on commit 50f6246

Please sign in to comment.