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

Function unwrapVal

packages/db/src/query/compiler/select.ts:40–43  ·  view source on GitHub ↗

* Unwraps any Value expressions

(input: any)

Source from the content-addressed store, hash-verified

38 * Unwraps any Value expressions
39 */
40function unwrapVal(input: any): any {
41 if (input instanceof ValClass) return input.value
42 return input
43}
44
45const UNSAFE_ALIAS_SEGMENTS = new Set([`__proto__`, `prototype`, `constructor`])
46

Callers 2

processMergeFunction · 0.85
processNonMergeOpFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected