Last change
on this file since 8d391a1 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
433 bytes
|
Rev | Line | |
---|
[6a3a178] | 1 | export default function _typeof(obj) {
|
---|
| 2 | "@babel/helpers - typeof";
|
---|
| 3 |
|
---|
| 4 | if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
|
---|
| 5 | _typeof = function _typeof(obj) {
|
---|
| 6 | return typeof obj;
|
---|
| 7 | };
|
---|
| 8 | } else {
|
---|
| 9 | _typeof = function _typeof(obj) {
|
---|
| 10 | return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
---|
| 11 | };
|
---|
| 12 | }
|
---|
| 13 |
|
---|
| 14 | return _typeof(obj);
|
---|
| 15 | } |
---|
Note:
See
TracBrowser
for help on using the repository browser.