Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pgadmin-org/pgadmin4
/ isRootNode
Method
isRootNode
web/pgadmin/static/js/tree/tree.js:330–333 ·
view source on GitHub ↗
(item)
Source
from the content-addressed store, hash-verified
328
}
329
330
isRootNode(item) {
331
const
model = this.tree.getModel();
332
return
item === model.root;
333
}
334
335
isInode(item) {
336
const
children = this.children(item);
Callers
1
browser.js
File · 0.80
Calls
1
getModel
Method · 0.65
Tested by
no test coverage detected