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

Function childSearch

packages/query-devtools/src/Explorer.tsx:583–587  ·  view source on GitHub ↗
(key: unknown)

Source from the content-addressed store, hash-verified

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)
586 return search && match ? { term: search.term, match } : undefined
587 }
588 const label = () => (
589 <HighlightedText
590 text={props.label}

Callers 1

ExplorerFunction · 0.85

Calls 1

getMethod · 0.80

Tested by

no test coverage detected