CHIZU_SUBREGIONS定数
リファレンスの説明と例は英語です。見出しと目次は日本語です。
The twenty-two subregions of UN M49, as kuni has them, each with the countries of this table in it.
インポート
import { CHIZU_SUBREGIONS } from "@johnmorrisdotca/chizu/names";
定義
const CHIZU_SUBREGIONS: readonly ChizuGroup[]
例
import { CHIZU_SUBREGIONS } from "@johnmorrisdotca/chizu/names";
const southeast = CHIZU_SUBREGIONS.find((group) => group.name === "Southeast Asia")!;
console.log(CHIZU_SUBREGIONS.length, southeast.code, southeast.nameJa, southeast.codes.length);
// 22 035 東南アジア 1122 035 東南アジア 11出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。