Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bytebase/bytebase
/ isLeafNodeType
Function
isLeafNodeType
frontend/src/react/stores/sqlEditor/tree-utils.ts:159–159 ·
view source on GitHub ↗
(type: NodeType)
Source
from the content-addressed store, hash-verified
157
};
158
159
const
isLeafNodeType = (
type
: NodeType) => LeafTreeNodeTypes.includes(
type
);
160
161
const
getSemanticFactorValue = (db: Database, factor: Factor) => {
162
switch (factor) {
Callers
1
mapTreeNodeByType
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected