MCPcopy Create free account
hub / github.com/sql-js/sql.js / isDisconnected

Function isDisconnected

documentation/javascript/application.js:6253–6255  ·  view source on GitHub ↗
( node )

Source from the content-addressed store, hash-verified

6251// A painfully simple check to see if an element is disconnected
6252// from a document (should be improved, where feasible).
6253function isDisconnected( node ) {
6254 return !node || !node.parentNode || node.parentNode.nodeType === 11;
6255}
6256
6257function sibling( cur, dir ) {
6258 do {

Callers 1

application.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…