MCPcopy Create free account
hub / github.com/experdot/pointer / getAllKeys

Function getAllKeys

src/renderer/src/components/common/ConfigTree.tsx:118–120  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

116 }
117
118 const getAllKeys = (): string[] => {
119 return [...items.map((i) => i.id), ...folders.map((f) => f.id)]
120 }
121
122 const allKeys = getAllKeys()
123 const isAllSelected = allKeys.length > 0 && checkedKeys.length === allKeys.length

Callers 2

ConfigTreeFunction · 0.70
handleSelectAllFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected