MCPcopy Index your code
hub / github.com/TanStack/db / toBooleanPredicate

Function toBooleanPredicate

packages/db/src/query/compiler/evaluators.ts:71–73  ·  view source on GitHub ↗
(result: boolean | null)

Source from the content-addressed store, hash-verified

69 * - null (UNKNOWN) → false (exclude row, matching SQL behavior)
70 */
71export function toBooleanPredicate(result: boolean | null): boolean {
72 return result === true
73}
74
75/**
76 * Compiled expression evaluator function type

Callers 6

applyInMemoryWhereMethod · 0.90
createFilterFunctionFunction · 0.85
compileQueryFunction · 0.85
processGroupByFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected