source: node_modules/@babel/runtime/helpers/esm/instanceof.js@ 65b6638

main
Last change on this file since 65b6638 was d24f17c, checked in by Aleksandar Panovski <apano77@…>, 15 months ago

Initial commit

  • Property mode set to 100644
File size: 232 bytes
RevLine 
[d24f17c]1export default function _instanceof(left, right) {
2 if (right != null && typeof Symbol !== "undefined" && right[Symbol.hasInstance]) {
3 return !!right[Symbol.hasInstance](left);
4 } else {
5 return left instanceof right;
6 }
7}
Note: See TracBrowser for help on using the repository browser.