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

Method has

packages/core/src/document/node/node-children.ts:169–171  ·  view source on GitHub ↗
(node: Node)

Source from the content-addressed store, hash-verified

167 }
168
169 has(node: Node) {
170 return this.children.indexOf(node) > -1
171 }
172
173 insert(node: Node, at?: number | null): void {
174 this.internalInsert(node, at, true)

Callers

nothing calls this directly

Calls 1

indexOfMethod · 0.80

Tested by

no test coverage detected