diabetic-utils / isEstimateGMIOptions
isEstimateGMIOptions(
input
):input is EstimateGMIOptions
Defined in: guards.ts:10
Clinical type guard for EstimateGMIOptions. Validates that the input matches the required shape for GMI estimation options (numeric value, string unit). Useful for ensuring safe handling of clinical glucose data and interoperability with analytics functions.
unknown
Candidate value to validate.
input is EstimateGMIOptions
True if input is a valid EstimateGMIOptions object.