MILITARY_RESTRICTED_IDS定数
リファレンスの説明と例は英語です。見出しと目次は日本語です。
The ids of the flags shipped for history and education and never given by default: the Confederate battle flag of the Army of Northern Virginia
and the Confederate States Navy's jack. They are in no list, group or picker; militaryFlag(id, { allowRestricted: true }) draws one, and
militaryInfo(id)?.restricted says why it is withheld.
インポート
import { MILITARY_RESTRICTED_IDS } from "@johnmorrisdotca/hata/military";
定義
const MILITARY_RESTRICTED_IDS: readonly MilitaryRecordId[] = set.restrictedIds as readonly MilitaryId[]
例
import { MILITARY_RESTRICTED_IDS } from "@johnmorrisdotca/hata/military";
console.log(MILITARY_RESTRICTED_IDS); // ["mil:cs-battle-flag", "mil:cs-naval-jack"][ 'mil:cs-battle-flag', 'mil:cs-naval-jack' ]出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。