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

Function getValueTypeName

packages/db/src/query/builder/index.ts:946–951  ·  view source on GitHub ↗
(value: unknown)

Source from the content-addressed store, hash-verified

944
945// Helper to get a descriptive type name for error messages
946function getValueTypeName(value: unknown): string {
947 if (value === null) return `null`
948 if (value === undefined) return `undefined`
949 if (typeof value === `object`) return `object`
950 return typeof value
951}
952
953// Helper to ensure we have a BasicExpression/Aggregate for a value
954function toExpr(value: any): BasicExpression | Aggregate {

Callers 2

whereMethod · 0.85
havingMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected