MCPcopy
hub / github.com/electerm/electerm / isTopLevelGroup

Function isTopLevelGroup

src/client/components/tree-list/tree-list-rows.js:3–5  ·  view source on GitHub ↗
(group)

Source from the content-addressed store, hash-verified

1import createName from '../../common/create-title'
2
3function isTopLevelGroup (group) {
4 return !group?.level || group.level < 2
5}
6
7export function buildVisibleTreeRows ({
8 bookmarkGroups,

Callers 1

buildVisibleTreeRowsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected