Reference · /subdivision-reforms
SubdivisionReformUnittype
One unit after a rearrangement, named by the law, made of current ISO 3166-2 codes.
Import it
import type { SubdivisionReformUnit } from "@johnmorrisdotca/kuni/subdivision-reforms";
Definition
interface SubdivisionReformUnit {
name: string;
nameJa: string | null;
clause: number;
kept: string;
from: readonly string[];
}
Members
| Name | Type | Description |
|---|---|---|
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. |
Examples
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-07What it prints (run when this page was built)