diabetic-utils / isHypo
isHypo(
val
,unit
,thresholds?
):boolean
Defined in: glucose.ts:24
Checks if a glucose value is clinically hypoglycemic for the given unit. Used for detecting low glucose events in clinical analytics and reporting.
number
Glucose value (number)
GlucoseUnit
= MG_DL
Glucose unit (‘mg/dL’ or ‘mmol/L’), default: ‘mg/dL’
Optional custom thresholds ({ mgdl?: number; mmoll?: number })
number
number
boolean
True if value is below clinical hypoglycemia threshold
https://www.diabetes.co.uk/diabetes_care/blood-sugar-level-ranges.html