aijinhui
2023-09-21 97be33990c1a082e5e55b33b8b88bb7360537d54
1
2
3
4
5
6
7
export default function _instanceof(left, right) {
  if (right != null && typeof Symbol !== "undefined" && right[Symbol.hasInstance]) {
    return !!right[Symbol.hasInstance](left);
  } else {
    return left instanceof right;
  }
}