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

Function add

packages/query-devtools/src/Explorer.tsx:304–307  ·  view source on GitHub ↗
(range)

Source from the content-addressed store, hash-verified

302 return ranges.size
303 },
304 add(range) {
305 ranges.add(range)
306 getHighlight().add(range)
307 },
308 delete(range) {
309 ranges.delete(range)
310 registry.get(HIGHLIGHT_NAME)?.delete(range)

Callers

nothing calls this directly

Calls 2

getHighlightFunction · 0.85
addMethod · 0.45

Tested by

no test coverage detected