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

Function isBoostQuery

packages/web/src/features/search/ir.ts:42–42  ·  view source on GitHub ↗
(query: QueryIR)

Source from the content-addressed store, hash-verified

40export const isNotQuery = (query: QueryIR): query is QueryIR & { not: Not } => query.not != null;
41export const isBranchQuery = (query: QueryIR): query is QueryIR & { branch: Branch } => query.branch != null;
42export const isBoostQuery = (query: QueryIR): query is QueryIR & { boost: Boost } => query.boost != null;
43
44/**
45 * Visitor pattern for traversing a QueryIR tree.

Callers 1

traverseQueryIRFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected