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 · Regions and international bodies

GroupingKindtype

What kind of grouping it is: "continent", "m49", "membership", "informal" or "subdivision".

Import it

import type { GroupingKind } from "@johnmorrisdotca/kuni/groupings";

Definition

type GroupingKind = (typeof GROUPING_KINDS)[number];

Examples

import type { GroupingKind } from "@johnmorrisdotca/kuni/groupings";
import { GROUPING_KINDS } from "@johnmorrisdotca/kuni/groupings";

const value: GroupingKind = GROUPING_KINDS[0];
console.log(typeof value === "object" ? Object.keys(value).slice(0,6) : value);
continent

What it prints (run when this page was built)

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