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")); // true31
trueWhat it prints (run when this page was built)