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.
2 parents 2c8c8de + ae1cad9 commit f1b0776Copy full SHA for f1b0776
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