MCPcopy Index your code
hub / github.com/angular-ui/ui-router / isObjectEmpty

Function isObjectEmpty

test/angular/1.6/angular.js:24280–24289  ·  view source on GitHub ↗
(obj)

Source from the content-addressed store, hash-verified

24278}
24279
24280function isObjectEmpty(obj) {
24281 if (obj) {
24282 for (var prop in obj) {
24283 if (obj.hasOwnProperty(prop)) {
24284 return false;
24285 }
24286 }
24287 }
24288 return true;
24289}
24290
24291/* global
24292 VALID_CLASS: false,

Callers 2

addSetValidityMethodFunction · 0.70
unsetAndCleanupFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected