We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a3b4156 commit 8f57911Copy full SHA for 8f57911
2727. is-object-empty/index.js
@@ -0,0 +1,3 @@
1
+const isEmpty = (obj) => {
2
+ return Object.keys(obj).length === 0
3
+}
0 commit comments