There was an error while loading. Please reload this page.
null
undefined
1 parent 01b093a commit 5b80c93Copy full SHA for 5b80c93
1 file changed
src/helpers/isChildrenEmpty/isChildrenEmpty.js
@@ -1,4 +1,3 @@
1
export const isChildrenEmpty = (children) => children == null
2
- || children === undefined
3
|| children === false
4
|| (Array.isArray(children) && children.length === 0);
0 commit comments