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 · Withdrawn country codes

withdrawnCountriesfunction

Every withdrawn country of ISO 3166-3, in order of its four-letter code. Never part of countries(), so a picker does not show them unless it asks.

Import it

import { withdrawnCountries } from "@johnmorrisdotca/kuni/withdrawn";

Definition

function withdrawnCountries(): readonly WithdrawnCountry[]

Returns

readonly WithdrawnCountry[]

The 31 records, the list and its objects frozen and shared.

Examples

import { withdrawnCountries } from "@johnmorrisdotca/kuni/withdrawn";

console.log(withdrawnCountries().length);                              // 31
console.log(withdrawnCountries().map((one) => one.alpha2).includes("SU")); // true
31
true

What it prints (run when this page was built)

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