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

Function ref

packages/db/tests/query/predicate-utils.test.ts:20–22  ·  view source on GitHub ↗
(path: string | Array<string>)

Source from the content-addressed store, hash-verified

18
19// Helper functions to build expressions more easily
20function ref(path: string | Array<string>): PropRef {
21 return new PropRef(typeof path === `string` ? [path] : path)
22}
23
24function val(value: any): Value {
25 return new Value(value)

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected