projecte_ionic/node_modules/@babel/runtime/helpers/esm/instanceof.js
2022-02-09 18:30:03 +01:00

7 lines
No EOL
232 B
JavaScript
Executable file

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;
}
}