We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2c8c8de commit ae1cad9Copy full SHA for ae1cad9
src/Utils.js
@@ -9,6 +9,7 @@ export const isEmpty = (x) => {
9
return x === "";
10
}
11
12
+ if (x===0) return false;
13
if (!x) return true;
14
if (x === {}) return true;
15
if (x === []) return true;
0 commit comments