Interface: AbnormalFlag
A recognized (or explicitly unrecognized) abnormal flag. The raw field text
is always preserved; recognized is false and meaning is "undefined"
for any letter outside Table 0078, the flag is surfaced, never dropped, and
never coerced to normal.
Example
import { interpretAbnormalFlag } from "@cosyte/astm";
const f = interpretAbnormalFlag("HH");
f.meaning; // "critically-above-normal"
f.recognized; // true
Properties
code?
readonlyoptionalcode?:AbnormalFlagCode
The Table 0078 code, present only when the raw text is a recognized flag.
meaning
readonlymeaning:AbnormalFlagMeaning
The modeled meaning; "undefined" (never "normal") for an unrecognized flag.
raw
readonlyraw:string
The verbatim field text, exactly as received.
recognized
readonlyrecognized:boolean
Whether the raw text matched a Table 0078 flag.