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

Function areAllPrimitives

packages/db/src/query/predicate-utils.ts:1134–1136  ·  view source on GitHub ↗

* Check if all values in an array are primitives

(values: Array<any>)

Source from the content-addressed store, hash-verified

1132 * Check if all values in an array are primitives
1133 */
1134function areAllPrimitives(values: Array<any>): boolean {
1135 return values.every(isPrimitive)
1136}
1137
1138/**
1139 * Check if a value is in an array, with optional pre-built Set for optimization.

Callers 1

extractInFieldFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected