(obj)
| 278 | } |
| 279 | |
| 280 | function empty (obj) { |
| 281 | if (typeof obj === 'object') { |
| 282 | for (const key in obj) { |
| 283 | if (obj.hasOwnProperty(key)) { |
| 284 | return false; |
| 285 | } |
| 286 | } |
| 287 | } |
| 288 | return true; |
| 289 | } |
| 290 | |
| 291 | async function getObject (type, id) { |
| 292 | if (!cur.cache[type]) { |
no outgoing calls
no test coverage detected