From 50f624656a4d76fbd19c65dbff5a064c3ed4f91c Mon Sep 17 00:00:00 2001 From: Peter Hedenskog Date: Sat, 4 Jan 2025 09:01:50 +0100 Subject: [PATCH] fix --- lib/support/util.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/support/util.js b/lib/support/util.js index de585f9e7..fba9a4886 100644 --- a/lib/support/util.js +++ b/lib/support/util.js @@ -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;