1 | var _Symbol$hasInstance = require("../core-js/symbol/has-instance");
|
2 |
|
3 | var _Symbol = require("../core-js/symbol");
|
4 |
|
5 | function _instanceof(left, right) {
|
6 | if (right != null && typeof _Symbol !== "undefined" && right[_Symbol$hasInstance]) {
|
7 | return !!right[_Symbol$hasInstance](left);
|
8 | } else {
|
9 | return left instanceof right;
|
10 | }
|
11 | }
|
12 |
|
13 | module.exports = _instanceof; |
\ | No newline at end of file |