Skip to main content
Version: v0.0.4

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?

readonly optional code?: AbnormalFlagCode

The Table 0078 code, present only when the raw text is a recognized flag.


meaning

readonly meaning: AbnormalFlagMeaning

The modeled meaning; "undefined" (never "normal") for an unrecognized flag.


raw

readonly raw: string

The verbatim field text, exactly as received.


recognized

readonly recognized: boolean

Whether the raw text matched a Table 0078 flag.