(obj)
| 127 | } |
| 128 | |
| 129 | function toType(obj) { |
| 130 | if (obj == null) { |
| 131 | return obj + ''; |
| 132 | } |
| 133 | |
| 134 | // Support: Android <=2.3 only (functionish RegExp) |
| 135 | return typeof obj === 'object' || typeof obj === 'function' |
| 136 | ? class2type[toString.call(obj)] || 'object' |
| 137 | : typeof obj; |
| 138 | } |
| 139 | /* global Symbol */ |
| 140 | // Defining this global in .eslintrc.json would create a danger of using the global |
| 141 | // unguarded in another place, it seems safer to define global only for this module |
no outgoing calls
no test coverage detected