import n from "react";
import e from "../../../react-dom/index.mjs";
function f(t) {
  return t instanceof HTMLElement || t instanceof SVGElement;
}
function o(t) {
  return f(t) ? t : t instanceof n.Component ? e.findDOMNode(t) : null;
}
export {
  o as default,
  f as isDOM
};
