MCPcopy
hub / github.com/nadbm/react-datasheet / isEmpty

Function isEmpty

lib/DataSheet.js:55–57  ·  view source on GitHub ↗
(obj)

Source from the content-addressed store, hash-verified

53function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
54
55var isEmpty = function isEmpty(obj) {
56 return Object.keys(obj).length === 0;
57};
58
59var range = function range(start, end) {
60 var array = [];

Callers 1

DataSheet.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected