Sha256: 64c53a8a2d936eac11d7d666978796e8dce99758a36dabb16611068211b0f019

Contents?: true

Size: 403 Bytes

Versions: 7

Compression:

Stored size: 403 Bytes

Contents

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

  return _typeof(obj);
}

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
enju_library-0.3.8 spec/dummy/node_modules/@babel/runtime/helpers/esm/typeof.js
condenser-0.2 lib/condenser/processors/node_modules/@babel/runtime/helpers/esm/typeof.js
condenser-0.1 lib/condenser/processors/node_modules/@babel/runtime/helpers/esm/typeof.js
condenser-0.0.12 lib/condenser/processors/node_modules/@babel/runtime/helpers/esm/typeof.js
condenser-0.0.11 lib/condenser/processors/node_modules/@babel/runtime/helpers/esm/typeof.js
condenser-0.0.10 lib/condenser/processors/node_modules/@babel/runtime/helpers/esm/typeof.js
condenser-0.0.9 lib/condenser/processors/node_modules/@babel/runtime/helpers/esm/typeof.js