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 · Places outside ISO 3166-1

ReservedKindtype

A kind of place outside ISO 3166-1: "iso-reserved", "user-assigned" or "de-facto".

Import it

import type { ReservedKind } from "@johnmorrisdotca/kuni/reserved";

Definition

type ReservedKind = (typeof RESERVED_KINDS)[number];

Examples

import type { ReservedKind } from "@johnmorrisdotca/kuni/reserved";
import { RESERVED_KINDS } from "@johnmorrisdotca/kuni/reserved";

const value: ReservedKind = RESERVED_KINDS[0];
console.log(typeof value === "object" ? Object.keys(value).slice(0,6) : value);
iso-reserved

What it prints (run when this page was built)

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