Sha256: 88b4134a25521d5139809b9b1450c69a3fb18fe846f714c235ec36d3105dadba

Contents?: true

Size: 232 Bytes

Versions: 85

Compression:

Stored size: 232 Bytes

Contents

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

Version data entries

85 entries across 84 versions & 14 rubygems

Version Path
optimacms-0.1.61 spec/dummy/node_modules/@babel/runtime/helpers/esm/instanceof.js
decidim-0.26.8 packages/eslint-config/node_modules/@babel/runtime/helpers/esm/instanceof.js
reed_sdk-1.0.1 node_modules/@babel/runtime/helpers/esm/instanceof.js
reed_sdk-1.0.0 node_modules/@babel/runtime/helpers/esm/instanceof.js
disco_app-0.18.0 test/dummy/node_modules/@babel/runtime/helpers/esm/instanceof.js
disco_app-0.18.2 test/dummy/node_modules/@babel/runtime/helpers/esm/instanceof.js
isomorfeus-redux-4.2.0 node_modules/@babel/runtime/helpers/esm/instanceof.js
trusty-cms-5.0.7 node_modules/@babel/runtime/helpers/esm/instanceof.js
isomorfeus-redux-4.1.18 node_modules/@babel/runtime/helpers/esm/instanceof.js
isomorfeus-redux-4.1.17 node_modules/@babel/runtime/helpers/esm/instanceof.js
isomorfeus-redux-4.1.16 node_modules/@babel/runtime/helpers/esm/instanceof.js
isomorfeus-redux-4.1.15 node_modules/@babel/runtime/helpers/esm/instanceof.js
isomorfeus-redux-4.1.14 node_modules/@babel/runtime/helpers/esm/instanceof.js
isomorfeus-redux-4.1.13 node_modules/@babel/runtime/helpers/esm/instanceof.js
isomorfeus-redux-4.1.12 node_modules/@babel/runtime/helpers/esm/instanceof.js
trusty-cms-5.0.6 node_modules/@babel/runtime/helpers/esm/instanceof.js
trusty-cms-5.0.5 node_modules/@babel/runtime/helpers/esm/instanceof.js
trusty-cms-5.0.4 node_modules/@babel/runtime/helpers/esm/instanceof.js
disco_app-0.16.1 test/dummy/node_modules/@babel/runtime/helpers/esm/instanceof.js
isomorfeus-redux-4.1.11 node_modules/@babel/runtime/helpers/esm/instanceof.js