diabetic-utils

diabetic-utils


diabetic-utils / groupByDay

Function: groupByDay()

groupByDay(readings): Record<string, GlucoseReading[]>

Defined in: tir.ts:58

Groups glucose readings by date (YYYY-MM-DD).

Parameters

readings

GlucoseReading[]

Array of glucose readings to group.

Returns

Record<string, GlucoseReading[]>

An object mapping each date string to an array of readings for that day.