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
trusty-cms-4.1.8 node_modules/@babel/runtime/helpers/esm/instanceof.js
tang-0.2.0 spec/tang_app/node_modules/@babel/runtime/helpers/esm/instanceof.js
trusty-cms-4.1.7 node_modules/@babel/runtime/helpers/esm/instanceof.js
tang-0.1.0 spec/tang_app/node_modules/@babel/runtime/helpers/esm/instanceof.js
tang-0.0.9 spec/tang_app/node_modules/@babel/runtime/helpers/esm/instanceof.js
trusty-cms-4.1.6 node_modules/@babel/runtime/helpers/esm/instanceof.js
trusty-cms-4.1.5 node_modules/@babel/runtime/helpers/esm/instanceof.js
enju_library-0.3.8 spec/dummy/node_modules/@babel/runtime/helpers/esm/instanceof.js
condenser-0.3 lib/condenser/processors/node_modules/@babel/runtime/helpers/esm/instanceof.js
condenser-0.2 lib/condenser/processors/node_modules/@babel/runtime/helpers/esm/instanceof.js
condenser-0.1 lib/condenser/processors/node_modules/@babel/runtime/helpers/esm/instanceof.js
condenser-0.0.12 lib/condenser/processors/node_modules/@babel/runtime/helpers/esm/instanceof.js
condenser-0.0.11 lib/condenser/processors/node_modules/@babel/runtime/helpers/esm/instanceof.js
condenser-0.0.10 lib/condenser/processors/node_modules/@babel/runtime/helpers/esm/instanceof.js
condenser-0.0.9 lib/condenser/processors/node_modules/@babel/runtime/helpers/esm/instanceof.js
condenser-0.0.8 lib/condenser/processors/node_modules/@babel/runtime/helpers/esm/instanceof.js
jester-data-8.0.0 node_modules/@babel/runtime/helpers/esm/instanceof.js
ezii-os-5.2.1 node_modules/@babel/runtime/helpers/esm/instanceof.js
ezii-os-2.0.1 node_modules/@babel/runtime/helpers/esm/instanceof.js
ezii-os-1.1.0 node_modules/@babel/runtime/helpers/esm/instanceof.js