Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Easy-Editor/EasyEditor
/ isRoot
Method
isRoot
packages/core/src/document/node/node.ts:331–333 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
329
}
330
331
get isRoot() {
332
return
this.document.rootNode === this
333
}
334
335
/**
336
* whether child nodes are included
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected