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

Function rowsOf

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

Source from the content-addressed store, hash-verified

70 * being about rows rather than about array bounds.
71 */
72const rowsOf = <T>(result: D1Result | undefined): T[] => (result?.results ?? []) as unknown as T[];
73const firstOf = <T>(result: D1Result | undefined): T | undefined => rowsOf<T>(result)[0];
74
75// ---------------------------------------------------------------------------

Callers 6

firstOfFunction · 0.70
summaryFunction · 0.70
timeseriesFunction · 0.70
durationBucketSeriesFunction · 0.70
activationFunction · 0.70
retentionFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected