SubdivisionReformUnit型
リファレンスの説明と例は英語です。見出しと目次は日本語です。
One unit after a rearrangement, named by the law, made of current ISO 3166-2 codes.
インポート
import type { SubdivisionReformUnit } from "@johnmorrisdotca/kuni/subdivision-reforms";
定義
interface SubdivisionReformUnit {
name: string;
nameJa: string | null;
clause: number;
kept: string;
from: readonly string[];
}
メンバー
| 名前 | 型 | 説明 |
|---|---|---|
name | string | The name the law writes, in Vietnamese with its diacritics. |
nameJa | string | null | Japanese kuni already stores for |
clause | number | The clause of the law's article that names this unit. |
kept | string | The current ISO 3166-2 code whose name the law kept. It is one of |
from | readonly string[] | The current ISO 3166-2 codes that form this unit, in the order the law names them. |
例
import type { SubdivisionReformUnit } from "@johnmorrisdotca/kuni/subdivision-reforms";
const value: SubdivisionReformUnit = { name: "Tuyên Quang", nameJa: "トゥエンクアン省", clause: 1, kept: "VN-07", from: ["VN-03", "VN-07"] };
console.log(value.kept);VN-07出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。