Reference · Regions and international bodies
GROUPING_KINDSconstant
What kind of grouping it is: a continent, a UN M49 area, an international body's members, a well-known informal grouping, or a grouping of the subdivisions inside one country.
Import it
import { GROUPING_KINDS } from "@johnmorrisdotca/kuni/groupings";
Definition
const GROUPING_KINDS: readonly ["continent", "m49", "membership", "informal", "subdivision"] = ["continent", "m49", "membership", "informal", "subdivision"] as const
Examples
import { GROUPING_KINDS, groupings } from "@johnmorrisdotca/kuni/groupings";
console.log(GROUPING_KINDS.map((kind) => groupings({ kind }).length)[0]); // 77What it prints (run when this page was built)