MCPcopy Create free account
hub / github.com/angular-ui/ui-grid / isObjectEmpty

Function isObjectEmpty

lib/test/angular/1.5.0/angular.js:27007–27016  ·  view source on GitHub ↗
(obj)

Source from the content-addressed store, hash-verified

27005}
27006
27007function isObjectEmpty(obj) {
27008 if (obj) {
27009 for (var prop in obj) {
27010 if (obj.hasOwnProperty(prop)) {
27011 return false;
27012 }
27013 }
27014 }
27015 return true;
27016}
27017
27018/**
27019 * @ngdoc directive

Callers 2

setValidityFunction · 0.70
unsetAndCleanupFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected