(obj: object)
| 34 | |
| 35 | // Return true if |obj| is not an object or it has no properties. |
| 36 | export function isEmptyObject(obj: object) { |
| 37 | return !obj || Object.keys(obj).length == 0; |
| 38 | } |
| 39 | |
| 40 | // Do a shadow compare of |a| and |b|'s properties. |
| 41 | export function shallowEqual(a: object, b: object) { |
no outgoing calls
no test coverage detected