Newer
Older
framework / node_modules / @babel / runtime / helpers / esm / instanceof.js
@Tiago Leonardo Costa Dias Tiago Leonardo Costa Dias on 13 Mar 2024 232 bytes update
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;
  }
}