MCPcopy Create free account
hub / github.com/TanStack/query / isPageExpanded

Function isPageExpanded

packages/query-devtools/src/Explorer.tsx:581–582  ·  view source on GitHub ↗
(index: number)

Source from the content-addressed store, hash-verified

579 subEntryPages().findIndex((_, index) => pageHasMatch(index)),
580 )
581 const isPageExpanded = (index: number) =>
582 expandedPages().includes(index) || matchingPage() === index
583 const childSearch = (key: unknown): ExplorerSearch | undefined => {
584 const search = props.search
585 const match = search?.match.children.get(key)

Callers 1

ExplorerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected