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

Function isOrderByArray

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

Source from the content-addressed store, hash-verified

30}
31
32function isOrderByArray(v: OrderBy | OrderBy[]): v is OrderBy[] {
33 return Array.isArray(v) && Array.isArray(v[0]);
34}
35
36function simplifyOrderBy(
37 columns: Record<string, AnyColumn>,

Callers 1

simplifyOrderByFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected