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 · TO subdivisions

SUBDIVISIONSconstant

The subdivisions of Tonga, in code order, every level: 5. Also the default export.

Import it

import { SUBDIVISIONS } from "@johnmorrisdotca/kuni/subdivisions/to";

Definition

const SUBDIVISIONS: readonly Subdivision[] = expandSubdivisions(TO)

Examples

import subdivisions from "@johnmorrisdotca/kuni/subdivisions/to";

console.log(subdivisions.length);    // 5
console.log(subdivisions[0].code);   // "TO-01"
5
TO-01

What it prints (run when this page was built)

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