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

Function isObjectEmpty

test/angular/1.4/angular.js:26545–26554  ·  view source on GitHub ↗
(obj)

Source from the content-addressed store, hash-verified

26543}
26544
26545function isObjectEmpty(obj) {
26546 if (obj) {
26547 for (var prop in obj) {
26548 if (obj.hasOwnProperty(prop)) {
26549 return false;
26550 }
26551 }
26552 }
26553 return true;
26554}
26555
26556/**
26557 * @ngdoc directive

Callers 2

setValidityFunction · 0.70
unsetAndCleanupFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected