MCPcopy Create free account
hub / github.com/pgadmin-org/pgadmin4 / hasParent

Method hasParent

web/regression/javascript/tree/tree_fake.js:78–81  ·  view source on GitHub ↗
(treeNode)

Source from the content-addressed store, hash-verified

76 }
77
78 hasParent(treeNode) {
79 let parents = this.translateTreeNodeIdFromReactTree(treeNode).split('/');
80 return parents.length > 1;
81 }
82
83 parent(treeNode) {
84 if (this.hasParent(treeNode)) {

Callers 1

parentMethod · 0.95

Tested by

no test coverage detected