Plato on Github
Report Home
node_modules/es5-ext/object/is-empty.js
Maintainability
71.05
Lines of code
14
Difficulty
6.13
Estimated Errors
0.06
Function weight
By Complexity
By SLOC
'use strict'; var value = require('./valid-value') , propertyIsEnumerable = Object.prototype.propertyIsEnumerable; module.exports = function (obj) { var i; value(obj); for (i in obj) { //jslint: skip if (propertyIsEnumerable.call(obj, i)) return false; } return true; };