Reference · Cities: lookups and loading (the tiers load on demand; the size counts every tier)
CityTiertype
The four tiers, smallest first: capitals (every capital, of a country or a subdivision, of any size), 1m (the other cities of a million people or more), 100k (the others of 100,000 or more) and 15k (the others of 15,000 or more). A city is in one tier only.
Import it
import type { CityTier } from "@johnmorrisdotca/kuni/cities";
Definition
type CityTier = "capitals" | "1m" | "100k" | "15k";
Examples
import type { CityTier } from "@johnmorrisdotca/kuni/cities";
const value: CityTier = "1m";
console.log(value);1mWhat it prints (run when this page was built)