Reference · NZ subdivision facts
SUBDIVISION_FACTSconstant
The facts about the subdivisions of New Zealand, in code order, one for each subdivision, every level. Also the default export.
Import it
import { SUBDIVISION_FACTS } from "@johnmorrisdotca/kuni/subdivision-facts/nz";
Definition
const SUBDIVISION_FACTS: readonly SubdivisionFacts[] = expandSubdivisionFacts(NZ)
Examples
import facts from "@johnmorrisdotca/kuni/subdivision-facts/nz";
console.log(facts.length); // 17
console.log(facts[0].code); // "NZ-AUK"17
NZ-AUKWhat it prints (run when this page was built)