MCPcopy Create free account
hub / github.com/Easy-Editor/EasyEditor / contains

Method contains

packages/core/src/document/node/node.ts:658–660  ·  view source on GitHub ↗

* check if this node contains another node

(node: Node)

Source from the content-addressed store, hash-verified

656 * check if this node contains another node
657 */
658 contains(node: Node): boolean {
659 return contains(this, node)
660 }
661
662 /**
663 * get the parent node at a specific depth

Callers 9

constructorMethod · 0.80
containsNodeMethod · 0.80
getTopNodesMethod · 0.80
checkSelectMethod · 0.80
setupDragAndClickMethod · 0.80
handleAcceptMethod · 0.80
checkInstanceMountedFunction · 0.80
index.tsxFile · 0.80
handleClickOutsideFunction · 0.80

Calls 1

containsFunction · 0.85

Tested by

no test coverage detected