@kaiord/core / parseRefTextBounds
Function: parseRefTextBounds()
parseRefTextBounds(
refText):Bounds|undefined
Defined in: packages/core/src/domain/lab/ref-text.ts:16
Parse a printed reference range into numeric bounds. Recognizes "low-high", "< high", and "> low" (with unicode dashes and ≤ / ≥). Returns undefined for text that carries no numeric bounds (e.g. "negativo"), so the caller can flag the value as "unknown".
Parameters
refText
string
Returns
Bounds | undefined