1 | function _typeof2(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof2 = function _typeof2(obj) { return typeof obj; }; } else { _typeof2 = function _typeof2(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof2(obj); }
|
2 |
|
3 | function _typeof(obj) {
|
4 | if (typeof Symbol === "function" && _typeof2(Symbol.iterator) === "symbol") {
|
5 | module.exports = _typeof = function _typeof(obj) {
|
6 | return _typeof2(obj);
|
7 | };
|
8 | } else {
|
9 | module.exports = _typeof = function _typeof(obj) {
|
10 | return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : _typeof2(obj);
|
11 | };
|
12 | }
|
13 |
|
14 | return _typeof(obj);
|
15 | }
|
16 |
|
17 | module.exports = _typeof; |
\ | No newline at end of file |