fly
aijinhui
2023-12-18 4c7e2078a1439ad6fb42f8854f5f8ac1e6859cbc
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;
  }
}