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

Function isObjectEmpty

test/angular/1.7/angular.js:25168–25177  ·  view source on GitHub ↗
(obj)

Source from the content-addressed store, hash-verified

25166}
25167
25168function isObjectEmpty(obj) {
25169 if (obj) {
25170 for (var prop in obj) {
25171 if (obj.hasOwnProperty(prop)) {
25172 return false;
25173 }
25174 }
25175 }
25176 return true;
25177}
25178
25179/* global
25180 VALID_CLASS: false,

Callers 2

addSetValidityMethodFunction · 0.70
unsetAndCleanupFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected