Reference · Military flags (naval ensigns, jacks and war flags)
MilitaryRestrictiontype
Why a flag is withheld by default, and who it is for, in both languages: reason, reasonJa, allowedFor and allowedForJa. No law restricts it.
Import it
import type { MilitaryRestriction } from "@johnmorrisdotca/hata/military";
Definition
type MilitaryRestriction = DrawnRestriction;
Members
| Name | Type | Description |
|---|---|---|
reason | string | |
reasonJa | string | |
allowedFor | string | |
allowedForJa | string |
Examples
import { type MilitaryRestriction } from "@johnmorrisdotca/hata/military";
const why: MilitaryRestriction["allowedFor"] = "education and history";
console.log(why);education and historyWhat it prints (run when this page was built)