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

Function isAggregateExpression

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

* Helper function to check if an expression is an aggregate

(
  expr: BasicExpression | Aggregate,
)

Source from the content-addressed store, hash-verified

251 * Helper function to check if an expression is an aggregate
252 */
253function isAggregateExpression(
254 expr: BasicExpression | Aggregate,
255): expr is Aggregate {
256 return expr.type === `agg`
257}
258
259/**
260 * Processes a single argument in a function context

Callers 3

compileSelectValueFunction · 0.85
processArgumentFunction · 0.85
addFromObjectFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected