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

Function isNotQuery

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

Source from the content-addressed store, hash-verified

38export const isAndQuery = (query: QueryIR): query is QueryIR & { and: And } => query.and != null;
39export const isOrQuery = (query: QueryIR): query is QueryIR & { or: Or } => query.or != null;
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

Callers 1

traverseQueryIRFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected