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

Function isCollectionNode

web/pgadmin/static/js/tree/tree_nodes.ts:349–355  ·  view source on GitHub ↗
(node)

Source from the content-addressed store, hash-verified

347}
348
349export function isCollectionNode(node) {
350 if (pgAdmin.Browser.Nodes && node in pgAdmin.Browser.Nodes) {
351 if (pgAdmin.Browser.Nodes[node].is_collection !== undefined) return pgAdmin.Browser.Nodes[node].is_collection;
352 else return false;
353 }
354 return false;
355}

Callers 1

ManageTreeNodesClass · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected