MCPcopy 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.jsFile · 0.80

Calls 1

getModelMethod · 0.65

Tested by

no test coverage detected