MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / isOrderByArray

Function isOrderByArray

packages/core/fumadb/src/query/orm/index.ts:26–28  ·  view source on GitHub ↗
(v: OrderBy | OrderBy[])

Source from the content-addressed store, hash-verified

24}
25
26function isOrderByArray(v: OrderBy | OrderBy[]): v is OrderBy[] {
27 return Array.isArray(v) && Array.isArray(v[0]);
28}
29
30function simplifyOrderBy(
31 columns: Record<string, AnyColumn>,

Callers 1

simplifyOrderByFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected