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

Function isUnknown

packages/db/src/query/compiler/evaluators.ts:17–19  ·  view source on GitHub ↗

* Helper function to check if a value is null or undefined (represents UNKNOWN in 3-valued logic)

(value: any)

Source from the content-addressed store, hash-verified

15 * Helper function to check if a value is null or undefined (represents UNKNOWN in 3-valued logic)
16 */
17function isUnknown(value: any): boolean {
18 return value === null || value === undefined
19}
20
21/**
22 * Equality that follows PostgreSQL float semantics for `NaN`/invalid Dates:

Callers 1

compileFunctionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected