* Quick object check - this is primarily used to tell * Objects from primitive values when we know the value * is a JSON-compliant type.
(obj)
| 64 | * is a JSON-compliant type. |
| 65 | */ |
| 66 | function isObject(obj) { |
| 67 | //判断是否是对象 |
| 68 | return obj !== null && typeof obj === 'object' |
| 69 | } |
| 70 | |
| 71 | /** |
| 72 | * Get the raw type string of a value e.g. [object Object] |
no outgoing calls
no test coverage detected