Sha256: dc41b46c3fda265ed7094a3a2d1209aef2e0072badba2148388e67cf12f58a13

Contents?: true

Size: 771 Bytes

Versions: 13

Compression:

Stored size: 771 Bytes

Contents

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); }

export default function _typeof(obj) {
  if (typeof Symbol === "function" && _typeof2(Symbol.iterator) === "symbol") {
    _typeof = function _typeof(obj) {
      return _typeof2(obj);
    };
  } else {
    _typeof = function _typeof(obj) {
      return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : _typeof2(obj);
    };
  }

  return _typeof(obj);
}

Version data entries

13 entries across 13 versions & 4 rubygems

Version Path
disco_app-0.18.0 test/dummy/node_modules/@babel/runtime/helpers/esm/typeof.js
disco_app-0.18.2 test/dummy/node_modules/@babel/runtime/helpers/esm/typeof.js
condenser-0.0.8 lib/condenser/processors/node_modules/@babel/runtime/helpers/esm/typeof.js
jester-data-8.0.0 node_modules/@babel/runtime/helpers/esm/typeof.js
ezii-os-5.2.1 node_modules/@babel/runtime/helpers/esm/typeof.js
ezii-os-2.0.1 node_modules/@babel/runtime/helpers/esm/typeof.js
ezii-os-1.1.0 node_modules/@babel/runtime/helpers/esm/typeof.js
ezii-os-1.0.0 node_modules/@babel/runtime/helpers/esm/typeof.js
condenser-0.0.7 lib/condenser/processors/node_modules/@babel/runtime/helpers/esm/typeof.js
ezii-os-0.0.0.1.0 node_modules/@babel/runtime/helpers/esm/typeof.js
ezii-os-0.0.0.0.1 node_modules/@babel/runtime/helpers/esm/typeof.js
condenser-0.0.5 lib/condenser/processors/node_modules/@babel/runtime/helpers/esm/typeof.js
condenser-0.0.4 lib/condenser/processors/node_modules/@babel/runtime/helpers/builtin/es6/typeof.js