window-is-top-matches.js 184 B

12345678
  1. // @deprecated
  2. function windowIsTopMatches(node) {
  3. return (
  4. node.ownerDocument.defaultView.self === node.ownerDocument.defaultView.top
  5. );
  6. }
  7. export default windowIsTopMatches;