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

Function childSearch

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

Source from the content-addressed store, hash-verified

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)
549 return search && match ? { term: search.term, match } : undefined
550 }
551 const label = () => (
552 <HighlightedText
553 text={props.label}

Callers 1

ExplorerFunction · 0.85

Calls 1

getMethod · 0.80

Tested by

no test coverage detected