Projekt

Obecné

Profil

Stáhnout (595 Bajtů) Statistiky
| Větev: | Revize:
1
"use strict";
2

    
3
exports.__esModule = true;
4

    
5
var _hasInstance = require("../core-js/symbol/has-instance");
6

    
7
var _hasInstance2 = _interopRequireDefault(_hasInstance);
8

    
9
var _symbol = require("../core-js/symbol");
10

    
11
var _symbol2 = _interopRequireDefault(_symbol);
12

    
13
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
14

    
15
exports.default = function (left, right) {
16
  if (right != null && typeof _symbol2.default !== "undefined" && right[_hasInstance2.default]) {
17
    return right[_hasInstance2.default](left);
18
  } else {
19
    return left instanceof right;
20
  }
21
};
(52-52/85)