(obj)
| 5 | }; |
| 6 | |
| 7 | const isNotEmptyObject = (obj) => { |
| 8 | return obj && typeof obj === 'object' && Object.getOwnPropertyNames(obj).length !== 0; |
| 9 | }; |
| 10 | |
| 11 | const isEmptyObject = (obj) => { |
| 12 | return !isNotEmptyObject(obj); |
no outgoing calls
no test coverage detected