Sha256: ffdb9dcc351a314773890ea525d481e7dacca4d908bae50e666d9442abb9ea18

Contents?: true

Size: 366 Bytes

Versions: 10

Compression:

Stored size: 366 Bytes

Contents

var _Symbol$hasInstance = require("../core-js/symbol/has-instance");

var _Symbol = require("../core-js/symbol");

function _instanceof(left, right) {
  if (right != null && typeof _Symbol !== "undefined" && right[_Symbol$hasInstance]) {
    return !!right[_Symbol$hasInstance](left);
  } else {
    return left instanceof right;
  }
}

module.exports = _instanceof;

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
condenser-0.3 lib/condenser/processors/node_modules/@babel/runtime-corejs3/helpers/instanceof.js
condenser-0.2 lib/condenser/processors/node_modules/@babel/runtime-corejs3/helpers/instanceof.js
condenser-0.1 lib/condenser/processors/node_modules/@babel/runtime-corejs3/helpers/instanceof.js
condenser-0.0.12 lib/condenser/processors/node_modules/@babel/runtime-corejs3/helpers/instanceof.js
condenser-0.0.11 lib/condenser/processors/node_modules/@babel/runtime-corejs3/helpers/instanceof.js
condenser-0.0.10 lib/condenser/processors/node_modules/@babel/runtime-corejs3/helpers/instanceof.js
condenser-0.0.9 lib/condenser/processors/node_modules/@babel/runtime-corejs3/helpers/instanceof.js
condenser-0.0.8 lib/condenser/processors/node_modules/@babel/runtime-corejs3/helpers/instanceof.js
condenser-0.0.7 lib/condenser/processors/node_modules/@babel/runtime-corejs3/helpers/instanceof.js
condenser-0.0.5 lib/condenser/processors/node_modules/@babel/runtime-corejs2/helpers/instanceof.js