blob: efe134c135f21cb924e0604a6ab486c3a915985b [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;