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

Function isPipedAggregateFunction

packages/db-ivm/src/operators/groupBy.ts:29–33  ·  view source on GitHub ↗
(
  aggregate: AggregateFunction<T, R>,
)

Source from the content-addressed store, hash-verified

27}
28
29function isPipedAggregateFunction<T, R>(
30 aggregate: AggregateFunction<T, R>,
31): aggregate is PipedAggregateFunction<T, R> {
32 return `pipe` in aggregate
33}
34
35/**
36 * Groups data by key and applies multiple aggregate operations

Callers 1

groupByFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected