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

Method isInode

web/pgadmin/static/js/tree/tree.js:335–339  ·  view source on GitHub ↗
(item)

Source from the content-addressed store, hash-verified

333 }
334
335 isInode(item) {
336 const children = this.children(item);
337 if (children === null || children === undefined) return false;
338 return children.length > 0;
339 }
340
341 selected() {
342 return this.tree.getActiveFile();

Callers 2

onLoadFunction · 0.80
browser.jsFile · 0.80

Calls 1

childrenMethod · 0.95

Tested by

no test coverage detected