MCPcopy Create free account
hub / github.com/sourcebot-dev/sourcebot / someInQueryIR

Function someInQueryIR

packages/web/src/features/search/ir.ts:204–209  ·  view source on GitHub ↗
(
    query: QueryIR,
    predicate: (query: QueryIR) => boolean
)

Source from the content-addressed store, hash-verified

202 * @returns true if any node matches, false otherwise
203 */
204export function someInQueryIR(
205 query: QueryIR,
206 predicate: (query: QueryIR) => boolean
207): boolean {
208 return findInQueryIR(query, predicate) !== undefined;
209}

Callers 1

createZoektSearchRequestFunction · 0.90

Calls 1

findInQueryIRFunction · 0.85

Tested by

no test coverage detected