Reference · CH subdivision facts
defaultconstant
The facts about the subdivisions of Switzerland, in code order, one for each subdivision, every level. Also the default export.
Import it
import value from "@johnmorrisdotca/kuni/subdivision-facts/ch";
Definition
const SUBDIVISION_FACTS: readonly SubdivisionFacts[] = expandSubdivisionFacts(CH)
Examples
import facts from "@johnmorrisdotca/kuni/subdivision-facts/ch";
console.log(facts.length); // 26
console.log(facts[0].code); // "CH-AG"26
CH-AGWhat it prints (run when this page was built)