UNPKG

632 BJavaScriptView Raw
1var _Symbol$iterator = require("@babel/runtime-corejs2/core-js/symbol/iterator");
2
3var _Symbol = require("@babel/runtime-corejs2/core-js/symbol");
4
5function _typeof(obj) {
6 "@babel/helpers - typeof";
7
8 if (typeof _Symbol === "function" && typeof _Symbol$iterator === "symbol") {
9 module.exports = _typeof = function _typeof(obj) {
10 return typeof obj;
11 };
12 } else {
13 module.exports = _typeof = function _typeof(obj) {
14 return obj && typeof _Symbol === "function" && obj.constructor === _Symbol && obj !== _Symbol.prototype ? "symbol" : typeof obj;
15 };
16 }
17
18 return _typeof(obj);
19}
20
21module.exports = _typeof;
\No newline at end of file