Skip to the content

Hata旗

Load a native country or region flag, choose supported framing and keep each drawing’s source, author and licence.

Hata (旗) is Japanese for a flag. About the name

Contents

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

NameTypeDescription
reasonstring
reasonJastring
allowedForstring
allowedForJastring

Examples

import { type MilitaryRestriction } from "@johnmorrisdotca/hata/military";

const why: MilitaryRestriction["allowedFor"] = "education and history";
console.log(why);
education and history

What it prints (run when this page was built)

View sourceEdit on GitHubMade from the source of @johnmorrisdotca/hata 1.31.0.