Skip to the content

Kuni国

Look up countries, codes, names and subdivisions, load country data on demand and mount a native country card.

Kuni (国) is Japanese for a country. About the name

Contents

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

NameTypeDescription
namestring

The name the law writes, in Vietnamese with its diacritics.

nameJastring | null

Japanese kuni already stores for kept, or null when the law's name is not that current name.

clausenumber

The clause of the law's article that names this unit.

keptstring

The current ISO 3166-2 code whose name the law kept. It is one of from.

fromreadonly 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-07

What it prints (run when this page was built)

View sourceEdit on GitHubMade from the source of @johnmorrisdotca/kuni 1.19.0.