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

Function isConditionalSelect

packages/db/src/query/compiler/group-by.ts:950–957  ·  view source on GitHub ↗
(value: unknown)

Source from the content-addressed store, hash-verified

948}
949
950function isConditionalSelect(value: unknown): value is ConditionalSelect {
951 return (
952 value instanceof ConditionalSelect ||
953 (value != null &&
954 typeof value === `object` &&
955 (value as { type?: string }).type === `conditionalSelect`)
956 )
957}
958
959/**
960 * Checks if two aggregate expressions are equal

Callers 4

containsAggregateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected