MCPcopy Create free account
hub / github.com/Acode-Foundation/Acode / get

Function get

src/utils/polyfill.js:4–12  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2 if (!("isConnected" in Node.prototype)) {
3 Object.defineProperty(Node.prototype, "isConnected", {
4 get() {
5 return (
6 !this.ownerDocument ||
7 !(
8 this.ownerDocument.compareDocumentPosition(this) &
9 this.DOCUMENT_POSITION_DISCONNECTED
10 )
11 );
12 },
13 });
14 }
15

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected