MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / rowsOf

Function rowsOf

telemetry-dashboard/src/api.ts:60–60  ·  view source on GitHub ↗
(result: D1Result | undefined)

Source from the content-addressed store, hash-verified

58 * being about rows rather than about array bounds.
59 */
60const rowsOf = <T>(result: D1Result | undefined): T[] => (result?.results ?? []) as unknown as T[];
61const firstOf = <T>(result: D1Result | undefined): T | undefined => rowsOf<T>(result)[0];
62
63// ---------------------------------------------------------------------------

Callers 4

firstOfFunction · 0.85
summaryFunction · 0.85
activationFunction · 0.85
retentionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected