is-object-empty.js 192 Bytes Edit Raw Blame History Permalink 1 2 3 4 5 6 7 8 export default function isObjectEmpty(obj) { var k; for (k in obj) { // even if its not own property I'd still call it non-empty return false; } return true; }