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

Function isObjectEmpty

test/angular/1.5/angular.js:29063–29072  ·  view source on GitHub ↗
(obj)

Source from the content-addressed store, hash-verified

29061}
29062
29063function isObjectEmpty(obj) {
29064 if (obj) {
29065 for (var prop in obj) {
29066 if (obj.hasOwnProperty(prop)) {
29067 return false;
29068 }
29069 }
29070 }
29071 return true;
29072}
29073
29074/**
29075 * @ngdoc directive

Callers 2

setValidityFunction · 0.70
unsetAndCleanupFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected