MCPcopy Create free account
hub / github.com/TanStack/db / isNullValue

Function isNullValue

packages/electric-db-collection/src/sql-compiler.ts:164–166  ·  view source on GitHub ↗

* Check if a BasicExpression represents a null/undefined value

(exp: IR.BasicExpression<unknown>)

Source from the content-addressed store, hash-verified

162 * Check if a BasicExpression represents a null/undefined value
163 */
164function isNullValue(exp: IR.BasicExpression<unknown>): boolean {
165 return exp.type === `val` && (exp.value === null || exp.value === undefined)
166}
167
168function compileFunction(
169 exp: IR.Func<unknown>,

Callers 1

compileFunctionFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected