mirror of
https://git.meshkee.com/cssd/cssd-back.git
synced 2026-10-11 01:41:07 +03:30
9 lines
246 B
JavaScript
Vendored
9 lines
246 B
JavaScript
Vendored
function _instanceof(left, right) {
|
|
if (right != null && typeof Symbol !== "undefined" && right[Symbol.hasInstance]) {
|
|
return right[Symbol.hasInstance](left);
|
|
} else {
|
|
return left instanceof right;
|
|
}
|
|
}
|
|
|
|
module.exports = _instanceof; |