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

Function isPageExpanded

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

Source from the content-addressed store, hash-verified

542 subEntryPages().findIndex((_, index) => pageHasMatch(index)),
543 )
544 const isPageExpanded = (index: number) =>
545 expandedPages().includes(index) || matchingPage() === index
546 const childSearch = (key: unknown): ExplorerSearch | undefined => {
547 const search = props.search
548 const match = search?.match.children.get(key)

Callers 1

ExplorerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected