blob: d3cd18a559b40b2f8f4b28dbab385f5b6fce88d7 [file] [log] [blame]
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;