本文へ移動

Hata旗

国や地域の旗を読み込み、対応する表示の形を選び、絵ごとの資料・作者・ライセンスを保てます。

「旗(はた)」は、旗を表す日本語です。 名前について(英語)

目次

リファレンス · 船の信号旗(国際信号書)

SIGNAL_IDS定数

リファレンスの説明と例は英語です。見出しと目次は日本語です。

Every id of the set: the Code's 40 flags in the order of its plate (the letters, the numeral pennants, the substitutes, then the answering pennant), then 18 of the special pennants of the United States Navy, usn:code-answer to usn:turn.

インポート

import { SIGNAL_IDS } from "@johnmorrisdotca/hata/signals";

定義

const SIGNAL_IDS: readonly ("ics:a" | "ics:b" | "ics:c" | "ics:d" | "ics:e" | "ics:f" | "ics:g" | "ics:h" | "ics:i" | "ics:j" | "ics:k" | "ics:l" | "ics:m" | "ics:n" | "ics:o" | "ics:p" | "ics:q" | "ics:r" | "ics:s" | "ics:t" | "ics:u" | "ics:v" | "ics:w" | "ics:x" | "ics:y" | "ics:z" | "ics:0" | "ics:1" | "ics:2" | "ics:3" | "ics:4" | "ics:5" | "ics:6" | "ics:7" | "ics:8" | "ics:9" | "ics:sub-1" | "ics:sub-2" | "ics:sub-3" | "ics:answer" | "usn:code-answer" | "usn:corpen" | "usn:designation" | "usn:emergency" | "usn:formation" | "usn:interrogative" | "usn:negative" | "usn:preparative" | "usn:screen" | "usn:speed" | "usn:starboard" | "usn:station" | "usn:subdivision" | "usn:substitute-1" | "usn:substitute-2" | "usn:substitute-3" | "usn:substitute-4" | "usn:turn")[] = set.ids

例

import { SIGNAL_IDS } from "@johnmorrisdotca/hata/signals";

console.log(SIGNAL_IDS.length); // 58
58

出力(このページを作ったときに実行した結果)

ソースを見るGitHub で編集@johnmorrisdotca/hata 1.31.0 のソースから作成しました。

この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。