added whole system from ola4doc
This commit is contained in:
+14
@@ -0,0 +1,14 @@
|
||||
'use strict';
|
||||
|
||||
var value = require('./valid-value')
|
||||
|
||||
, propertyIsEnumerable = Object.prototype.propertyIsEnumerable;
|
||||
|
||||
module.exports = function (obj) {
|
||||
var i;
|
||||
value(obj);
|
||||
for (i in obj) { //jslint: ignore
|
||||
if (propertyIsEnumerable.call(obj, i)) return false;
|
||||
}
|
||||
return true;
|
||||
};
|
||||
Reference in New Issue
Block a user