main
Last change
on this file was d24f17c, checked in by Aleksandar Panovski <apano77@…>, 15 months ago |
Initial commit
|
-
Property mode
set to
100644
|
File size:
475 bytes
|
Line | |
---|
1 | var _Symbol = require("core-js-pure/features/symbol/index.js");
|
---|
2 | var _Symbol$hasInstance = require("core-js-pure/features/symbol/has-instance.js");
|
---|
3 | function _instanceof(left, right) {
|
---|
4 | if (right != null && typeof _Symbol !== "undefined" && right[_Symbol$hasInstance]) {
|
---|
5 | return !!right[_Symbol$hasInstance](left);
|
---|
6 | } else {
|
---|
7 | return left instanceof right;
|
---|
8 | }
|
---|
9 | }
|
---|
10 | module.exports = _instanceof, module.exports.__esModule = true, module.exports["default"] = module.exports; |
---|
Note:
See
TracBrowser
for help on using the repository browser.