mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-12 17:04:57 +00:00
13 lines
330 B
JavaScript
13 lines
330 B
JavaScript
"use strict";
|
|
|
|
var _Symbol$hasInstance = require("babel-runtime/core-js/symbol/has-instance")["default"];
|
|
|
|
exports["default"] = function (left, right) {
|
|
if (right != null && right[_Symbol$hasInstance]) {
|
|
return right[_Symbol$hasInstance](left);
|
|
} else {
|
|
return left instanceof right;
|
|
}
|
|
};
|
|
|
|
exports.__esModule = true; |