Reference · Military flags (naval ensigns, jacks and war flags)
MilitaryIdtype
The id of a military flag, written exactly as this package writes it: mil:, the country's two letters and a lower-case slug
("mil:gb-white-ensign"). No country or region code contains a colon, so none of these can be taken for one.
Import it
import type { MilitaryId } from "@johnmorrisdotca/hata/military";
Definition
type MilitaryId = MilitaryRecordId;
Examples
import { type MilitaryId } from "@johnmorrisdotca/hata/military";
const ensign: MilitaryId = "mil:gb-white-ensign";
console.log(ensign);mil:gb-white-ensignWhat it prints (run when this page was built)