(obj)
| 43 | } |
| 44 | |
| 45 | function isObjectEmpty(obj) { |
| 46 | if (Object.getOwnPropertyNames) { |
| 47 | return Object.getOwnPropertyNames(obj).length === 0; |
| 48 | } else { |
| 49 | var k; |
| 50 | for (k in obj) { |
| 51 | if (hasOwnProp(obj, k)) { |
| 52 | return false; |
| 53 | } |
| 54 | } |
| 55 | return true; |
| 56 | } |
| 57 | } |
| 58 | |
| 59 | function isUndefined(input) { |
| 60 | return input === void 0; |
no test coverage detected