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

Function areRefsEqual

packages/db/src/query/predicate-utils.ts:1110–1115  ·  view source on GitHub ↗
(a: PropRef, b: PropRef)

Source from the content-addressed store, hash-verified

1108}
1109
1110function areRefsEqual(a: PropRef, b: PropRef): boolean {
1111 if (a.path.length !== b.path.length) {
1112 return false
1113 }
1114 return a.path.every((segment, i) => segment === b.path[i])
1115}
1116
1117/**
1118 * Check if a value is a primitive (string, number, boolean, null, undefined)

Callers 3

isWhereSubsetInternalFunction · 0.85
minusSameFieldPredicatesFunction · 0.85
areExpressionsEqualFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected