Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Easy-Editor/EasyEditor
/ hasNode
Method
hasNode
packages/core/src/document/document.ts:228–231 ·
view source on GitHub ↗
(id: string)
Source
from the content-addressed store, hash-verified
226
}
227
228
hasNode(id: string) {
229
const
node = this.getNode(id)
230
return
node ? !node.isPurged : false
231
}
232
233
removeNode(idOrNode: string | Node) {
234
let
node: Node | null
Callers
2
createNode
Method · 0.95
tidy
Method · 0.80
Calls
1
getNode
Method · 0.95
Tested by
no test coverage detected