Reference · Places outside ISO 3166-1
RESERVED_KINDSconstant
The kinds of place outside ISO 3166-1, in kebab case: "iso-reserved" has a code ISO 3166-1 reserves exceptionally, "user-assigned" a code of its user-assigned range that a published flag set uses, "de-facto" no code.
Import it
import { RESERVED_KINDS } from "@johnmorrisdotca/kuni/reserved";
Definition
const RESERVED_KINDS: readonly ["iso-reserved", "user-assigned", "de-facto"] = ["iso-reserved", "user-assigned", "de-facto"] as const
Examples
import { RESERVED_KINDS, reservedPlaces } from "@johnmorrisdotca/kuni/reserved";
console.log(RESERVED_KINDS.map((kind) => reservedPlaces({ kind }).length)); // [7, 3, 4][ 7, 3, 4 ]What it prints (run when this page was built)