Sha256: 7358fb7b6369e767fca507ca0e533e2380ead39170674ef0ad69ce40cbc092c5

Contents?: true

Size: 192 Bytes

Versions: 7

Compression:

Stored size: 192 Bytes

Contents

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;
}

Version data entries

7 entries across 7 versions & 5 rubygems

Version Path
cortex-0.1.3 spec/dummy/node_modules/moment/src/lib/utils/is-object-empty.js
jinda_lte-0.0.1 lib/generators/jinda_lte/templates/app/assets/jinda_assets/bower_components/moment/src/lib/utils/is-object-empty.js
binnacle-0.5.0 vendor/assets/javascripts/moment/src/lib/utils/is-object-empty.js
binnacle-0.4.9 vendor/assets/javascripts/moment/src/lib/utils/is-object-empty.js
binnacle-0.4.8 vendor/assets/javascripts/moment/src/lib/utils/is-object-empty.js
lanes-0.8.0 node_modules/moment/src/lib/utils/is-object-empty.js
date_picker-0.0.9 test/dummy/vendor/assets/components/moment/src/lib/utils/is-object-empty.js